/* Handy-Feinschliff fuer alle Seiten (nur unter 640 px): Tippflaechen, lesbare Etiketten, Platz fuer den Chat-Knopf. */
@media (max-width: 639px) {
  /* kleine Mono-Etiketten nicht unter 11 px, Mini-Etiketten nicht unter 10 px */
  .text-\[10px\] { font-size: 11px; }
  .text-\[9px\] { font-size: 10px; }

  /* Fuss: unten Platz, damit der Chat-Knopf keine Links verdeckt */
  footer[class] { padding-bottom: 6rem; }
  /* Fuss-Links: bequem tippbar (mind. 40 px hoch), Pillen ohne Umbruch */
  footer a:not([class*="rounded"]) { display: inline-block; padding-top: .55rem; padding-bottom: .55rem; }
  footer a[class*="rounded-full"], footer button[class*="rounded-full"] { display: inline-flex; align-items: center; min-height: 44px; padding-left: 1.1rem; padding-right: 1.1rem; white-space: nowrap; }
  footer ul li { line-height: 1.25; }

  /* Kontakt-Links in Rechtstexten und Karten */
  main a[href^="mailto:"], main a[href^="tel:"], main a[href^="https://wa.me"] { display: inline-block; padding-top: .45rem; padding-bottom: .45rem; }
  a.font-mono.font-bold[href] { display: inline-block; padding-top: .5rem; padding-bottom: .5rem; }

  /* Pillen mit Zeilenumbruch behalten ihre Form */
  .rounded-full.inline-flex, .rounded-full.inline-block { max-width: 100%; }
}

/* Sprachumschalter DE/TR im Kopf (build/i18n_tr.py) */
.df-lang{display:inline-flex;align-items:center;justify-content:center;height:2.25rem;min-width:2.25rem;padding:0 .75rem;border-radius:9999px;border:1px solid rgba(17,18,21,.15);background:#fff;color:#111215;font-size:.75rem;font-weight:800;letter-spacing:.05em;text-decoration:none;transition:background-color .2s}
.df-lang:hover,.df-lang:focus-visible{background:#daf6a6}

/* Nur tuerkische Seiten: laengere Woerter duerfen Boxen nicht sprengen */
html[lang="tr"] .w-max{max-width:100%}
html[lang="tr"] h1,html[lang="tr"] h2,html[lang="tr"] h3{overflow-wrap:break-word}
/* Nur TR: Ç, Ş, İ, ğ brauchen bei grossen Ueberschriften etwas mehr Zeilenabstand */
html[lang="tr"] :is(.eco-head,.eco-panel,.kx-head,.ha-head,.dfh-title,.dfh-name,.dfh-list,.dfs-title,.dfs-card-title),
html[lang="tr"] :is(.eco-head,.eco-panel,.kx-head,.ha-head) :is(h1,h2,h3,span,div),
html[lang="tr"] :is(h1,h2).leading-\[1\.05\],html[lang="tr"] :is(h1,h2).leading-\[1\.08\],
html[lang="tr"] :is(h1,h2)[class*="leading-[0."]{line-height:1.12}
/* Sehr schmale Handys: Kopf-Button "Anfrage starten" ueberdeckt sonst den Schriftzug; Kontakt steht im Hero und im Menue */
@media (max-width:399px){header a[href="#contact"].rounded-full{display:none}}
