/* Shared screen sizing for the German, Greek, English and translated pages. */
html{min-width:280px;overflow-x:clip}
body{min-width:280px;overflow-x:clip}
img,video,iframe,svg{max-width:100%}
section,.wrap,.grid,.hero-grid,.flyer-grid,.cards,.card,.translated-full-flyer{min-width:0}
.flyer img,.translated-full-flyer>img{display:block;max-width:100%;height:auto}
.global-language-tabs .language-tab-list,.language-tabs,.site-section-tabs .tabs-inner{scrollbar-width:thin;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.site-section-tabs{max-width:100vw}
.site-section-tabs .tabs-inner a{min-height:40px;display:inline-flex;align-items:center}
@media (max-width:1024px){
  .localized-section .info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .translated-full-flyer,.flyer .translated-full-flyer{width:min(680px,100%)}
  .localized-section{padding-block:clamp(35px,5vw,60px)}
  html[lang="en"] header nav.wrap:not(.language-tabs),html[lang="el"] header nav.wrap:not(.language-tabs){min-height:70px;height:auto;flex-wrap:wrap;gap:10px;padding-block:10px}
  html[lang="en"] header .navright{display:flex;flex-wrap:wrap;gap:7px}
}
@media (max-width:768px){
  .wrap{width:calc(100% - 32px)}
  .hero-grid,.grid,.flyer-grid,.contact-layout,.experience-grid,.location-grid,.audience,.learning-intro{grid-template-columns:minmax(0,1fr)}
  .flyer-grid,.flyer>.wrap.grid{gap:22px}
  .flyer-section,.flyer{padding-block:36px}
  .flyer .translated-full-flyer,.translated-full-flyer{width:min(580px,100%);margin-inline:auto}
  .localized-section .info-grid{grid-template-columns:minmax(0,1fr)}
  .price-table-local{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .price-table-local th,.price-table-local td{white-space:normal}
  .localized-section .media-local{align-items:flex-start}
  .localized-section .media-local img{max-width:min(180px,45vw)}
  .translated-full-flyer>img{width:100%;height:auto;object-fit:contain}
  .global-language-tabs a,.language-tabs a{min-height:40px;display:inline-flex;align-items:center}
}
@media (max-width:560px){
  .wrap{width:calc(100% - 28px)}
  body{font-size:16px}
  h1{overflow-wrap:break-word}
  .hero h1{font-size:clamp(34px,9vw,46px);line-height:1.12}
  .hero{min-height:0;padding-block:32px 42px}
  section{padding-block:clamp(38px,9vw,65px)}
  .site-section-tabs .tabs-inner{gap:6px;padding-block:8px}
  .site-section-tabs .tabs-inner a{font-size:13px;min-height:42px}
  .language-tabs{gap:6px;padding-block:9px}
  .language-tabs a{font-size:13px}
  .head{min-height:0;gap:8px;padding-block:9px}
  .head>a[href^="tel:"]{font-size:14px}
  .brand{min-width:0;overflow-wrap:anywhere}
  .flyer h2,.flyer-section h2{font-size:clamp(27px,7vw,36px)}
  .flyer-section .wrap,.flyer>.wrap{max-width:100%}
  .print-action,.flyer-download a,.actions .btn{max-width:100%}
  .flyer-download a{display:inline-block;overflow-wrap:anywhere}
  .translated-full-flyer{border-radius:5px}
  .contact-ribbon .wrap{display:flex;flex-wrap:wrap;justify-content:center}
  .contact-ribbon a{overflow-wrap:anywhere}
  .ja-chat{width:min(360px,calc(100vw - 24px))!important;max-height:calc(100dvh - 90px)!important;overflow-y:auto}
  .ja-chat-launch{right:12px!important;bottom:12px!important;padding:12px 15px!important;font-size:14px!important}
}
@media (max-width:850px){
  html[lang="de"] header nav.wrap{height:auto;min-height:68px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;padding-block:8px}
  html[lang="de"] header .brand{flex:1 1 auto}
  html[lang="de"] header .menu{margin-left:auto}
  html[lang="de"] header .english-access{order:3;font-size:13px}
  html[lang="de"] header .navlinks{z-index:30}
  html[lang="de"] header .navlinks.open{display:grid;grid-template-columns:minmax(0,1fr);max-height:min(75dvh,650px);overflow-y:auto}
}
@media (min-width:1600px){
  .wrap{width:min(1440px,calc(100% - 8vw))}
  body{font-size:18px}
  .translated-full-flyer,.flyer .translated-full-flyer{width:min(850px,100%)}
  .hero-grid,.grid{gap:clamp(40px,5vw,90px)}
  .hero h1{font-size:clamp(64px,5vw,100px)}
  .hero p,.lead{font-size:clamp(20px,1.35vw,25px)}
  .localized-section{padding-block:85px}
}
@media (min-width:2560px){
  .wrap{width:min(1900px,calc(100% - 10vw))}
  body{font-size:21px}
  .translated-full-flyer,.flyer .translated-full-flyer{width:min(1024px,100%)}
  .hero h1{font-size:clamp(90px,4vw,125px)}
  .site-section-tabs a,.language-tabs a{font-size:17px}
  .localized-section h2{font-size:clamp(40px,2.5vw,62px)}
}
@media print{html,body{overflow:visible}.translated-full-flyer,.flyer .translated-full-flyer{width:186mm!important}}

/* International marker: Germany, Greece and South Korea. */
.flyer-flag .flag-icon::after{content:" 🇰🇷"}
.flyer-flag::after{content:" · 한국"}

/* Focused phone layout: compact navigation, readable sections and full-width imagery. */
@media (max-width:850px){
  html[lang="de"] header .english-access{display:none}
  html[lang="de"] header nav.wrap{min-height:64px;padding-block:7px;flex-wrap:nowrap}
  html[lang="de"] header .brand{flex:1 1 auto;max-width:calc(100% - 64px)}
  html[lang="de"] header .brand strong{font-size:16px;line-height:1.1}
  html[lang="de"] header .brand small{font-size:11px;line-height:1.2}
  html[lang="de"] header .menu{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:48px;min-height:46px;padding:6px 9px;border:1px solid #c5ddea;border-radius:12px;background:#fff;font-size:16px}
  html[lang="de"] header .navlinks{top:100%;max-height:calc(100dvh - 64px);border-radius:0 0 16px 16px}
  .global-language-tabs .language-tab-list{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-inline:16px;scroll-snap-type:x proximity}
  .global-language-tabs a{flex:0 0 auto;scroll-snap-align:start}
  .flyer{padding-block:30px}
  .flyer>.wrap{width:calc(100% - 20px)}
  .flyer-grid{gap:20px}
  .flyer-grid>div{padding-inline:5px}
  .flyer-grid>img{width:100%;max-width:none;height:auto;max-height:none;margin:0 auto;border-radius:14px;background:transparent;object-fit:contain}
  .flyer .btn{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;padding-inline:14px;white-space:normal}
  .hero-grid{gap:24px}
  .hero .actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  .hero .actions .btn{width:100%;min-height:50px;justify-content:center;text-align:center;white-space:normal}
  .portrait-card{width:100%;max-width:500px;margin-inline:auto}
  .portrait-frame img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
  .hero-contact{overflow-wrap:anywhere}
}

@media (max-width:560px){
  .wrap{width:calc(100% - 24px)}
  html[lang="de"] header .brand-mark{width:38px;height:38px;flex:0 0 38px;font-size:18px}
  html[lang="de"] header .brand small{display:block}
  html[lang="de"] header .menu span[data-de],html[lang="de"] header .menu span[data-el]{display:none}
  .flyer-flag{max-width:calc(100% - 20px);font-size:13px;line-height:1.35;text-align:center;white-space:normal}
  .flyer h2{font-size:clamp(28px,8.3vw,36px);line-height:1.08}
  .flyer p{font-size:16px;line-height:1.55}
  .flyer-grid>img{border-radius:10px;box-shadow:0 14px 32px rgba(0,0,0,.25)}
  .hero{padding-top:30px}
  .portrait-frame img{height:auto!important}
  .portrait-quote,.portrait-stats,.portrait-name{max-width:calc(100% - 24px)}
  .cards,.level-prices,.experience-points{grid-template-columns:minmax(0,1fr)}
  .price-row{grid-template-columns:minmax(0,1fr)}
  .price-row>*{grid-column:1}
  .inquiry-form,.contact-card,.legal-card{padding:20px 16px}
  footer .footer-row{align-items:flex-start;gap:18px}
}
