/* =====================================================================
   FAGOR PROFESSIONAL DEUTSCHLAND — style.css
   ---------------------------------------------------------------------
   Uygulama kaynağı : fagor-professional-tersine-muhendislik-analizi.md
   Token kaynağı    : assets/css/tokens.css  (önce yüklenmeli)
   Breakpoint'ler   : 576 / 768 / 992 / 1200 / 1500  (§2.7)
   Ana kırılım      : 1200px — navbar-expand-xl burada çöker
   Radius           : 0 (her yerde) · Shadow: none (§2.3 · §2.4)
   ===================================================================== */

/* =====================================================================
   1. RESET / BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-body);
  color: var(--ink);
  background: var(--white);
}

img, picture, svg { max-width: 100%; display: block; border: 0; }
/* KRİTİK: HTML'deki height="…" özniteliği "presentational hint" olarak
   CSS'e sızar ve author kuralı olan `aspect-ratio`yu ezer. Sonuç: dar
   ekranlarda görsel sabit yükseklikte kalıp object-fit ile deforme olur.
   Buradaki tek satır bunu keser; sabit yükseklik gereken yerler (hero,
   ikonlar, rozetler) kendi daha özgül kurallarıyla bunu geçersiz kılar. */
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, dl, dd, figure { margin: 0; }
button { font: inherit; color: inherit; }

/* §4.1 global kural: #wrapper a:hover { color: #E22119 } */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-default);
}
a:hover { color: var(--brand); }

/* §9-3 · §9-4: orijinalde görünür focus göstergesi YOK ve .btn:focus
   marka dışı mavi ring kullanıyor. Her ikisi de düzeltildi.            */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--brand); color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 12px; top: 12px; z-index: 10000;
  background: var(--white); color: var(--ink);
  padding: 10px 16px; border: 2px solid var(--brand);
}

/* =====================================================================
   2. LAYOUT — Container & Row  (§1.2)
   ---------------------------------------------------------------------
   ⚠ Kritik kural: ≥1200px'te .container Bootstrap default'unu ezerek
   max-width:80% olur (1534px viewport'ta ölçülen fiili genişlik 1219px).
   ===================================================================== */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 80%; padding-inline: 0; } }

/* Tam bleed (hero) */
.container-fluid { width: 100%; max-width: 100%; padding: 0; }

/* Row/col — BS4 oluk sistemi (col padding 0 15px, row margin -15px) */
.row  { display: flex; flex-wrap: wrap; margin-inline: calc(var(--gutter) * -1); }
.row.nomargin { margin-inline: 0; }
.col  { padding-inline: var(--gutter); min-width: 0; }
.col-6  { flex: 0 0 50%;      max-width: 50%; }
.col-5  { flex: 0 0 41.6667%; max-width: 41.6667%; }  /* .col-md-5 */
.col-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-12 { flex: 0 0 100%;     max-width: 100%; }

/* =====================================================================
   3. ATOMLAR  (§7 Faz 1)
   ===================================================================== */

/* ---- .title1 / display başlık — 45/60/100 uppercase --------------- */
.title-display {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: var(--fw-display);
  text-transform: uppercase;
  word-break: break-word;
}
.title-display.gray { color: var(--ink-slate); }

/* ---- .title2 / h2 — 26/31.2/400 ----------------------------------- */
.title-2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-h2);
}

/* ---- .section-title / h3 — 24/28.8/500 ---------------------------- */
.section-title {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-h3);
}
.section-subtitle {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 100;
}

/* ---- .dash-line — 50px #E22119 · gray: 80px #8D8C8C --------------- */
.dash-line {
  display: block;
  width: 50px; height: 0;
  border: 1px solid var(--brand);
  flex: 0 0 auto;
}
.dash-line.gray { width: 80px; border-color: var(--line-gray); }

/* ---- .show-more-link — dash + metin, inline-flex ------------------ */
.show-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-body);
  line-height: 30px;
}
.show-more-link.bold { font-weight: 700; }
.show-more-link:hover { color: var(--brand); }
.show-more-link:hover .dash-line { border-color: var(--brand); }

/* ---- .btn.btn-outline-danger — ölçülen kutu 227×48px --------------
   border 1px · radius 0 · padding .55rem 1rem · 19.2px uppercase
   hover: zemin kırmızı, metin beyaz, ok ikonu kırmızıdan beyaza döner */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brand);
  font-size: var(--fs-btn);
  line-height: var(--lh-btn);
  font-weight: var(--fw-btn);
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--t-btn), background-color var(--t-btn), border-color var(--t-btn);
}
.btn:hover,
.btn:focus-visible { background: var(--brand); color: var(--white); }
.btn[disabled], .btn.is-disabled {
  cursor: not-allowed; opacity: .65; pointer-events: none;
}

/* .icon-arrow — 20×20 · margin-left 20px · margin-bottom -3px        */
.btn .icon-arrow {
  width: var(--img-arrow); height: var(--img-arrow);
  margin-left: 20px; margin-bottom: -3px;
  flex: 0 0 auto;
}
.btn .icon-arrow.white { display: none; }
.btn:hover .icon-arrow.red,
.btn:focus-visible .icon-arrow.red { display: none; }
.btn:hover .icon-arrow.white,
.btn:focus-visible .icon-arrow.white { display: block; }
/* Katalog indirme oku: sağ oku 90° döndür (§1.3 Bölüm 2) */
.btn.download .icon-arrow { transform: rotate(90deg); }

/* Ters kontrast (koyu zemin üstünde) — .btn-inoxfera karşılığı */
.btn.white { border-color: var(--white); color: var(--white); background: transparent; }
.btn.white:hover, .btn.white:focus-visible { background: var(--white); color: var(--brand); }
.btn.white .icon-arrow.red { display: none; }
.btn.white .icon-arrow.white { display: block; }
.btn.white:hover .icon-arrow.white,
.btn.white:focus-visible .icon-arrow.white { display: none; }
.btn.white:hover .icon-arrow.red,
.btn.white:focus-visible .icon-arrow.red { display: block; }

.btn.sm { min-height: 40px; font-size: 14px; line-height: 20px; padding: .45rem .9rem; }

/* =====================================================================
   4. HEADER  (§1.1 · §2.7)
   ---------------------------------------------------------------------
   #banner: fixed · 150px (≥1200) / 100px (<1200) · #2E2D2C · z 30
   Scroll'da HİÇ değişmez (§4.2) — shrink-on-scroll bilinçli olarak yok.

   YENİDEN TASARIM (§4-R):
   ≥1200px'te header iki katmanlı bir ızgaradır:

     ┌─────────────────────────────── --util-h (52px) ───────────────┐
     │                              MyFAGOR │ DE │ 🔍 │ ↗           │  koyu şerit
     ├───────────────────────────────────────────────────────────────┤
     │ [LOGO]                    Über uns  Produkte  …  [ Kontakt ]  │  ana satır
     └───────────────────────────────────────────────────────────────┘

   Eski kurgu logo'yu `margin-left:10%`, menüyü `margin-right:11%` ile
   birbirinden habersiz konumlandırıyordu; 1440px altında ikisi çakışıyor,
   menü de header'ın alt kenarına yapışık duruyordu. Artık ikisi aynı
   grid'in iki kolonu — çakışma yapısal olarak mümkün değil.
   ===================================================================== */
#banner {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: var(--header-bg);
  z-index: var(--z-header);
}
#banner .navbar {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: var(--z-nav);
}

/* Üst yardımcı şerit zemini — tam bleed, .navbar'ın altında boyanır.   */
#banner::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: var(--util-h);
  background: rgba(0, 0, 0, .25);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
@media (max-width: 1199px) { #banner::before { display: none; } }

/* Markenlinie an der Unterkante (2.15.0): Rot läuft von links aus und
   verliert sich — ein Hauch von Hitze und Wasser, den beiden Geschäfts-
   bereichen, ohne Bild. 2px, damit sie den Hero nicht anschneidet.     */
#banner::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0, var(--brand) 14%, rgba(226, 33, 25, 0) 62%);
  pointer-events: none;
}

/* ---- Logo --------------------------------------------------------- */
.logo { display: block; margin-left: 24px; }
.logo img { height: var(--logo-h); width: auto; transition: opacity var(--t-default); }
.logo:hover img { opacity: .85; }

/* Mikro-Claim neben dem Logo (2.15.0): was die Firma tut, in zwei
   Zeilen hinter einer Haarlinie. Er erscheint nur, wenn zwischen Logo
   und Menü wirklich Platz ist — und das hängt nicht allein von der
   Fensterbreite ab: angemeldet ist die Menüzeile um Schulungen und
   Videothek länger, auf Türkisch sind Claim und Menü breiter. Deshalb
   kein Media-Query, sondern eine Container-Abfrage auf die Grid-Spalte
   zwischen Logo und Menü (.logo-claim-box = Spalte minmax(0,1fr)): ab
   350px Restbreite wird der Claim gezeigt (Claim: DE 327px, TR ~340px).
   Gemessen (docs/sekmeler/07-header-navigation.md §6.1): abgemeldet bei
   1366/1400/1440/1920px sichtbar, 1600–1750px nicht (--shell-pad 10%),
   angemeldet unter 1920px nie. Browser
   ohne Container-Queries sehen ihn nie — besser als ein Überlappen.  */
.logo-claim-box { min-width: 0; }
.logo-claim { display: none; }
@supports (container-type: inline-size) {
  .logo-claim-box { container-type: inline-size; }
  @container (min-width: 350px) {
    .logo-claim {
      display: block;
      margin: 0; padding-left: 22px;
      border-left: 1px solid rgba(255, 255, 255, .22);
      font-size: 11px; line-height: 17px;
      letter-spacing: 1.2px; text-transform: uppercase;
      color: rgba(255, 255, 255, .62);
      white-space: nowrap;
    }
    .logo-claim strong { display: block; font-weight: 500; color: rgba(255, 255, 255, .88); }
  }
}

/* ---- Utility bar (MyFAGOR · dil · arama · iletişim) ----------------
   İkincil katman: 13px, harf aralığı açık, sönük beyaz. Ana menüden
   tipografik olarak ayrışır — hiyerarşi göz kırpmadan okunur.          */
.utility {
  display: flex; align-items: center; gap: 14px;
  margin-left: auto;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  letter-spacing: .02em;
}
.utility .sep { width: 1px; height: 14px; background: rgba(255,255,255,.22); }
.utility .icon-myfagor { height: 18px; width: auto; opacity: .85; transition: opacity var(--t-default); }
.utility a:hover .icon-myfagor { opacity: 1; }
/* Logo 18px yüksek; tıklama alanı yerleşimi bozmadan 44px'e çıkarılır */
.utility .util-myfagor { position: relative; display: block; }
.utility .util-myfagor::after { content: ""; position: absolute; inset: -13px -6px; }

/* ---- Info-Cluster: Telefon · Ort · seit 1960 (2.15.0) ---------------
   Die linke Hälfte des Streifens war leer. Jetzt steht dort, was ein
   B2B-Besucher zuerst sucht: eine Nummer zum Anrufen. Ort und Gründungs-
   jahr sind Vertrauenssignale, keine Navigation — deshalb kein Link.  */
.util-info { display: flex; align-items: center; gap: 22px; margin-right: auto; }
.util-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--white); font-weight: 500; letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
  transition: color var(--t-default);
}
.util-phone svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.util-phone:hover, .util-phone:focus-visible { color: var(--brand); }
.util-meta { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.util-meta svg { width: 13px; height: 13px; fill: currentColor; opacity: .7; flex: none; }
.util-meta.is-since::before { content: ""; width: 6px; height: 6px; background: var(--brand); }
.icobtn {
  background: none; border: 0; color: inherit;
  cursor: pointer; padding: 6px; display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--t-default), background-color var(--t-default);
}
.icobtn:hover { color: var(--white); background: rgba(255,255,255,.10); }
.icobtn svg { width: 17px; height: 17px; fill: currentColor; }
.js-lang span { font-weight: 500; letter-spacing: .06em; }

/* Dil seçici */
.langsel { position: relative; }
.langlist {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 168px; padding: 6px 0;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--brand);
  display: none; z-index: var(--z-mega);
}
.langsel.open .langlist { display: block; }
/* `span` = Sprache noch nicht uebersetzt (kein Link, aber gleiche Zeile). */
.langlist a,
.langlist span { display: block; padding: 9px 16px; font-size: 15px; font-weight: 400; }
.langlist a:hover { background: var(--surface-200); color: var(--brand); }
/* Aktif dil yalnızca kalınlıkla değil, marka rengiyle de işaretlenir —
   tek başına kalınlık düşük kontrastlı ekranlarda okunmuyor. */
.langlist [aria-current="true"] { font-weight: 700; color: var(--brand); }
/* Hedefi olmayan diller: tıklanabilir görünmesinler. */
.langlist [aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---- Ana menü ------------------------------------------------------ */
.mainnav { display: none; }

@media (min-width: 1200px) {
  /* İki katmanlı grid: logo ve menü aynı satırın iki ucunda.           */
  #banner .navbar {
    display: grid;
    /* Menü bekommt immer seine volle Breite (max-content), das Logo seine;
       was übrig bleibt, ist die Claim-Spalte — siehe .logo-claim-box.   */
    grid-template-columns: auto minmax(0, 1fr) max-content;
    grid-template-rows: var(--util-h) 1fr;
    grid-template-areas:
      "utility utility utility"
      "logo    claim   nav";
    align-items: center;
    column-gap: 24px;
    padding-inline: var(--shell-pad);
  }
  .logo           { grid-area: logo;  margin-left: 0; align-self: center; }
  .logo-claim-box { grid-area: claim; align-self: center; }
  /* Streifen über volle Breite: Info-Cluster links (margin-right:auto),
     MyFAGOR · Sprache · Suche · Teilen rechts.                          */
  .utility    { grid-area: utility; justify-self: stretch; margin-left: 0; }
  .mainnav    { grid-area: nav;     justify-self: end; align-self: center; display: block; }

  .mainnav > ul { display: flex; align-items: center; }
  .mainnav > ul > li { padding: 0; }

  .mainnav > ul > li > a,
  .mainnav > ul > li > .nav-link {
    position: relative;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px var(--nav-px);
    white-space: nowrap;
    color: rgba(255, 255, 255, .78);
    font-size: var(--nav-fs);
    line-height: 20px;
    font-weight: 400;              /* 300 → 400: ince yazı koyu zeminde soluyordu */
    letter-spacing: .01em;
    background: none; border: 0;
    cursor: pointer;
    transition: color var(--t-default);
  }

  /* Gösterge: marka kırmızısı, ortadan açılan 2px'lik çubuk.
     Eski 1px beyaz border-bottom hem zayıf hem markasızdı.             */
  .mainnav > ul > li > a::after,
  .mainnav > ul > li > .nav-link::after {
    content: "";
    position: absolute;
    left: var(--nav-px); right: var(--nav-px); bottom: 2px;
    height: 2px; background: var(--brand);
    transform: scaleX(0);
    transition: transform var(--t-default);
  }

  .mainnav > ul > li > a:hover,
  .mainnav > ul > li > .nav-link:hover,
  .mainnav > ul > li.is-open > .nav-link,
  .mainnav > ul > li > [aria-current="page"],
  .mainnav > ul > li > [aria-current="location"] { color: var(--white); }

  .mainnav > ul > li > a:hover::after,
  .mainnav > ul > li > .nav-link:hover::after,
  .mainnav > ul > li.is-open > .nav-link::after,
  .mainnav > ul > li > [aria-current="page"]::after,
  .mainnav > ul > li > [aria-current="location"]::after { transform: scaleX(1); }

  .mainnav > ul > li > a:focus-visible,
  .mainnav > ul > li > .nav-link:focus-visible {
    outline: 2px solid var(--white); outline-offset: -2px;
  }

  .mainnav .caret {
    width: 9px; height: 9px; fill: currentColor; opacity: .65;
    transition: transform var(--t-default), opacity var(--t-default);
  }
  .mainnav li.is-open .caret { transform: rotate(180deg); opacity: 1; }

  /* "Angebot anfragen" = der eine Klick, um den es geht (2.15.0: vorher
     "Kontakt" mit Rahmen). Gefüllt in Markenrot, mit Pfeil; Hover dunkelt
     ab und schiebt den Pfeil an. Radius 0, kein Schatten (DESIGN-SYSTEM §4). */
  .mainnav .nav-cta {
    margin-left: 14px;
    padding-inline: clamp(14px, 1.15vw, 22px);
    gap: 10px;
    background: var(--brand);
    border: 1px solid var(--brand);
    color: var(--white);
    font-weight: 500;
    letter-spacing: .02em;
    transition: background-color var(--t-default), border-color var(--t-default), color var(--t-default);
  }
  .mainnav .nav-cta::after { display: none; }
  .mainnav .nav-cta svg { width: 14px; height: 14px; flex: none; transition: transform var(--t-default); }
  .mainnav .nav-cta:hover,
  .mainnav .nav-cta:focus-visible {
    background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white);
  }
  .mainnav .nav-cta:hover svg,
  .mainnav .nav-cta:focus-visible svg { transform: translateX(3px); }

  /* Partnerbereich — Anmelden bzw. Schulungen · Videothek · Abmelden —
     als eigene Gruppe: Haarlinie davor, Personen-Glyph am Konto-Punkt.
     site-auth.js fügt die geschützten Punkte als Geschwister VOR dem Slot
     ein; die Linie sitzt deshalb per Sibling-Selektor am jeweils ersten
     Punkt der Gruppe, egal ob das der Slot oder ein eingefügter ist.    */
  .mainnav li[data-fp-account],
  .mainnav li[data-fp-account-item] { position: relative; }
  .mainnav li[data-fp-account]::before,
  .mainnav li:not([data-fp-account-item]) + li[data-fp-account-item]::before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 1px; height: 18px; transform: translateY(-50%);
    background: rgba(255, 255, 255, .22);
  }
  .mainnav li[data-fp-account-item] + li[data-fp-account]::before { display: none; }
  .mainnav li[data-fp-account],
  .mainnav li:not([data-fp-account-item]) + li[data-fp-account-item] { margin-left: 8px; }
  .mainnav li[data-fp-account-item] + li[data-fp-account] { margin-left: 0; }
  /* Glyph per Maske statt <svg> im Link: site-auth.js tauscht den Text
     über textContent und würde ein Kind-Element mitlöschen.            */
  .mainnav li[data-fp-account] > a::before {
    content: ""; width: 14px; height: 14px; flex: none;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9zm0 2c-4.4 0-8 2.2-8 5v2h16v-2c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9zm0 2c-4.4 0-8 2.2-8 5v2h16v-2c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* =====================================================================
   5. MEGA MENÜ  (§4.3-A)
   ---------------------------------------------------------------------
   2.15.0: Şu an DOM'da mega menü YOK — "Küche" ve "Wäscherei" menüden
   çıkarıldı, verisi supabase/seed/navigation.json'da bekliyor. Bu
   bölüm bilinçli olarak korunuyor; Supabase'den beslenen menü geri
   gelince aynı sınıflarla çalışır (docs/sekmeler/07-header-navigation.md).

   ≥1200px: position fixed · tam bleed · bg #EFEFEF
   ≤1199px: tamamen kapalı (orijinal) -> yerine accordion drawer (§9-5)

   YENİDEN TASARIM (§5-R):
   · İçerik header shell'i ile aynı --shell-pad hizasında (eskiden sabit
     97px'ti; logo %10'daydı — üç farklı sol kenar görünüyordu).
   · Sabit 195px + flex-wrap yerine grid: kolonlar eşit genişlikte,
     satır aralıkları düzenli, 1200–2560px arası boşluk açılmıyor.
   · Kolon başlıklarına ince ayraç — 8 kolon tek bakışta taranabiliyor.
   ===================================================================== */
.mega { display: none; }

@media (min-width: 1200px) {
  .mega {
    display: block;
    position: fixed;
    left: 0; right: 0;
    top: var(--header-h);
    background: var(--surface-200);
    border-top: 1px solid rgba(0,0,0,.10);
    /* §2.4'te "shadow yok" kuralı sayfa içi bileşenler için geçerli.
       Katman olarak içeriğin ÜSTÜNE binen tek öğe mega menü olduğu için
       burada bilinçli sapma: kenar olmadan panel içerikten ayrışmıyor. */
    box-shadow: 0 16px 28px rgba(0,0,0,.16);
    padding: 0 0 34px;
    z-index: var(--z-mega);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--t-default), transform var(--t-default), visibility var(--t-default);
  }
  .mainnav li.is-open > .mega {
    opacity: 1; visibility: visible; transform: none;
  }

  /* .dropdown-title-separator — 17px/700 kırmızı + alt çizgi */
  .mega-title {
    margin: 22px 0 0;
    padding: 0 var(--shell-pad) 12px;
  }
  .mega-title a, .mega-title span {
    display: inline-block;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--brand);
    font-size: var(--fs-menu-head);
    line-height: var(--lh-menu-head);
    font-weight: var(--fw-menu-head);
    letter-spacing: .01em;
    color: var(--brand);
  }
  .mega-title { border-bottom: 1px solid rgba(0,0,0,.12); }

  /* Kolonlar + promo — iki kolonlu üst ızgara */
  .mega-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(240px, 19vw, 320px);
    gap: 34px;
    align-items: start;
    padding: 0 var(--shell-pad);
  }
  .mega-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
    gap: 4px 26px;
  }

  .mega-col { display: flex; flex-direction: column; padding: 22px 0 4px; }
  .mega-col .navmenu-custom-icon {
    width: 35px; height: 35px; object-fit: contain; margin-bottom: 10px;
  }
  /* İkonsuz kolonlar ikonlularla aynı taban çizgisinde başlasın —
     eski `margin-top:43px` sihirli sayısı yerine gerçek yer tutucu.    */
  .mega-col.no-icon::before {
    content: ""; display: block;
    width: 35px; height: 35px; margin-bottom: 10px;
  }

  .item-header {
    display: block;
    padding: 0 12px 9px 0; margin-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,.12);
    font-size: var(--fs-menu-head);
    line-height: var(--lh-menu-head);
    font-weight: var(--fw-menu-head);
    color: var(--ink);
  }
  .item-child {
    display: block; padding: 5px 12px 5px 0;
    font-size: var(--fs-menu-item);
    line-height: var(--lh-menu-item);
    font-weight: 400;               /* 300 → 400: 15px'te okunurluk */
    color: #3A3A3A;
    transition: color var(--t-default), transform var(--t-default);
  }
  .item-header:hover { color: var(--brand); background: transparent; }
  .item-child:hover  { color: var(--brand); transform: translateX(3px); }

  .mega-promo { padding: 22px 0 4px; }
  .mega-promo a { display: block; }
  .mega-promo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .mega-promo p {
    margin-top: 12px;
    font-size: var(--fs-menu-item);
    line-height: var(--lh-menu-item);
    color: #3A3A3A;
    transition: color var(--t-default);
  }
  .mega-promo a:hover p { color: var(--brand); }
  .mega-promo .badge {
    display: inline-block; margin-bottom: 10px;
    background: var(--brand); color: var(--white);
    font-size: 11px; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; padding: 4px 10px;
  }
}

/* =====================================================================
   6. MOBİL MENÜ — accordion drawer  (§9-5 iyileştirmesi)
   ===================================================================== */
.burger {
  display: inline-flex; flex-direction: column; gap: 5px;
  margin-left: auto; margin-right: 24px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.burger span { display: block; width: 26px; height: 2px; background: var(--white); transition: transform var(--t-default), opacity var(--t-default); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1200px) { .burger { display: none; } }

.drawer {
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--header-bg);
  z-index: var(--z-panel);
  overflow-y: auto;
  padding: 8px 0 40px;
  overscroll-behavior: contain;
}
.drawer[hidden] { display: none; }
.drawer a, .drawer .acc-toggle { color: var(--white); }
.drawer > ul > li { border-bottom: 1px solid rgba(255,255,255,.10); }
/* Masaüstündeki kırmızı gösterge çubuğunun mobil karşılığı: sol kenarda
   3px'lik marka şeridi. Aynı dil, dokunmatiğe uygun hedef.             */
.drawer > ul > li > a,
.drawer .acc-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 15px 24px;
  font-size: 17px; line-height: 24px; font-weight: 400; letter-spacing: .01em;
  background: none; border: 0;
  border-left: 3px solid transparent;
  text-align: left; cursor: pointer;
  transition: border-color var(--t-default), background-color var(--t-default), color var(--t-default);
}
.drawer > ul > li > a:hover,
.drawer > ul > li > a[aria-current="page"],
.drawer .acc-toggle:hover,
.drawer .acc-toggle[aria-expanded="true"] {
  border-left-color: var(--brand);
  background: rgba(255,255,255,.05);
  color: var(--white);
}
.drawer .acc-toggle svg { width: 12px; height: 12px; fill: currentColor; transition: transform var(--t-default); }
.drawer .acc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
/* Kontakt: mobilde de dönüşüm adımı — dolu kırmızı blok CTA */
.drawer > ul > li.drawer-cta { border-bottom: 0; }
.drawer > ul > li.drawer-cta > a {
  justify-content: center;
  margin: 20px 24px 0; padding: 15px 20px;
  border-left: 0; background: var(--brand);
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.drawer > ul > li.drawer-cta > a:hover { background: var(--brand-dark); }

/* Telefon im Drawer (2.15.0): unter den Menüpunkten, vor Sprache und CTA.
   tel:-Link — auf dem Telefon der kürzeste Weg zum Gespräch.           */
.drawer > ul > li.drawer-phone > a {
  justify-content: flex-start; gap: 12px;
  font-variant-numeric: tabular-nums;
}
.drawer > ul > li.drawer-phone svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* Dil satırı — çekmecede CTA'nın hemen üstünde.
   Utility şeridindeki .langsel 576px altında gizli; telefonda dil seçimi
   yalnızca buradan yapılabiliyor, o yüzden atlanamaz. */
.drawer > ul > li.drawer-lang { display: flex; }
.drawer > ul > li.drawer-lang > a {
  flex: 1 1 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 13px 12px;
  font-size: 15px; line-height: 22px; letter-spacing: .04em;
  border-left: 3px solid transparent;
  transition: border-color var(--t-default), background-color var(--t-default);
}
.drawer > ul > li.drawer-lang > a + a { border-left: 1px solid rgba(255,255,255,.10); }
.drawer > ul > li.drawer-lang > a[aria-current="true"] {
  background: rgba(255,255,255,.06);
  border-bottom: 2px solid var(--brand);
  font-weight: 700;
}

.drawer .acc-panel { background: #262524; padding: 4px 0 14px; }
.drawer .acc-panel[hidden] { display: none; }
.drawer .acc-group { padding: 10px 24px; }
.drawer .acc-group > .item-header {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-menu-head); font-weight: var(--fw-menu-head);
  color: var(--white); padding: 6px 0;
}
/* Kategori piktogramları koyu çizgili PNG'dir — koyu drawer zemininde
   görünmez kalmasın diye ters çevrilir. */
.drawer .acc-group > .item-header img {
  width: 24px; height: 24px; object-fit: contain;
  filter: invert(1);
}
.drawer .acc-group .item-child {
  display: block; padding: 6px 0 6px 34px;
  font-size: var(--fs-menu-item); font-weight: var(--fw-menu-item);
  color: #D6D5D4;
}
.drawer .acc-group .item-child:hover { color: var(--brand); }

/* =====================================================================
   7. HERO CAROUSEL  (§1.3 · §4.2)
   ---------------------------------------------------------------------
   Tam bleed · ölçülen yükseklik 677.6px @1534px viewport (≈44.2vw)
   4 slide · süre slide başına değişir (data-interval) · yalnız
   indicator (30×3px) · ok YOK
   ===================================================================== */
.hero {
  position: relative;
  margin-top: var(--header-h);
  background: var(--ink);
  overflow: hidden;
}
.hero-viewport { position: relative; height: clamp(320px, 44.2vw, 780px); }
.hero-track {
  display: flex; height: 100%;
  transition: transform var(--t-carousel);
  will-change: transform;
}
.hero-slide { position: relative; flex: 0 0 100%; max-width: 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
/* Görseller saf arka plandır: gömülü kampanya metni ve link yok.
   Üzerine metin katmanı bindirilmez — sayfanın <h1>'i hemen altındaki
   .section-turnkey içindedir.                                        */

/* Indicator — görsel 30×3px · margin 0 3px · bottom 16px · opacity .5/1
   Dokunma alanı padding ile 36×35px'e büyütülür (WCAG 2.5.8 ≥24px);
   background-clip: content-box sayesinde çubuk görsel olarak 30×3 kalır. */
.hero-dots {
  position: absolute; inset: auto 0 0 0;
  display: flex; justify-content: center; align-items: center; gap: 0;
  z-index: var(--z-carousel);
}
.hero-dots button {
  box-sizing: content-box;
  width: 30px; height: 3px;
  padding: 16px 3px;
  border: 0; border-radius: var(--radius);
  background: var(--brand);
  background-clip: content-box;
  cursor: pointer;
  opacity: .5;
  transition: opacity var(--t-indicator);
}
.hero-dots button[aria-current="true"] { opacity: 1; }
.hero-dots button:hover { opacity: .8; }

/* §9-7: orijinalde duraklat kontrolü yok — eklendi */
.hero-pause {
  position: absolute; right: 16px; bottom: 12px;
  z-index: var(--z-carousel);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(0,0,0,.45); border: 0; color: var(--white);
  cursor: pointer; transition: background var(--t-default);
}
.hero-pause:hover { background: var(--brand); }
.hero-pause svg { width: 14px; height: 14px; fill: currentColor; }
.hero-pause .ico-play { display: none; }
.hero-pause[aria-pressed="true"] .ico-play  { display: block; }
.hero-pause[aria-pressed="true"] .ico-pause { display: none; }

/* =====================================================================
   7b. ATOM — .kicker (küçük üst başlık)
   ---------------------------------------------------------------------
   Bölüm başlığının üstünde duran 12px uppercase etiket. Üstündeki
   kırmızı çizgi .dash-line'ın pseudo-element karşılığıdır: dekoratif
   olduğu için DOM'a ayrı bir <span> koymaya gerek yok.
   ===================================================================== */
.kicker {
  font-size: 12px; line-height: 18px; font-weight: 400;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--ink-muted);
}
.kicker::before {
  content: ""; display: block;
  width: 50px; height: 0;
  border-top: 1px solid var(--brand);
  margin: 0 0 16px;
}

/* =====================================================================
   7c. POSITIONIERUNG — Schlüsselfertige Gastronomie (.section-turnkey)
   ---------------------------------------------------------------------
   Sayfanın çekirdek mesajı: satılan şey cihaz değil, çalışır hâldeki
   işletme. Karusel'in hemen altında koyu bant (#2E2D2C) — header ve
   Zahlen bandıyla aynı renk ailesi. Radius/gölge yok (DESIGN-SYSTEM §4).
   ===================================================================== */
.section-turnkey {
  background: var(--header-bg);
  color: var(--white);
  padding: 84px 0 78px;
}
.section-turnkey .kicker { color: #BDBCBB; }

.turnkey-title {
  margin-top: 22px;
  /* Display tokeninin büyük varyantı: 45px tabanı H1 için fazla küçük
     kalıyordu, ağırlık/uppercase karakteri korunur.                    */
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.1;
  font-weight: var(--fw-display);
  text-transform: uppercase;
  max-width: 26ch;
  /* "SCHLÜSSELFERTIGEN" gibi bileşik kelimeler dar ekranda taşıyordu. */
  overflow-wrap: break-word;
  hyphens: auto;
}
.turnkey-claim {
  margin-top: 26px;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.35;
  font-weight: 300;
}
.turnkey-lead {
  margin-top: 20px;
  max-width: 780px;
  color: #C9C8C7;
}

/* Disiplin etiketleri — .badges'in koyu zemin karşılığı */
.turnkey-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 34px;
}
.turnkey-chips li {
  border: 1px solid rgba(255, 255, 255, .30);
  padding: 7px 14px;
  font-size: 12px; line-height: 18px;
  letter-spacing: .8px; text-transform: uppercase;
}

.turnkey-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* =====================================================================
   7d. ALLES AUS EINER HAND (.section-scope)
   ---------------------------------------------------------------------
   İki kolonluk karşılaştırma. Ayrı ayrı ihale edilen işler (soluk,
   gri kenar) ↔ tek elden proje (kırmızı kenar, beyaz zemin).
   ===================================================================== */
.section-scope { padding: 70px 0 60px; background: var(--surface-100); }
.scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.scope-col {
  background: var(--white);
  border-top: 3px solid var(--line-gray);
  padding: 34px 32px 38px;
}
.scope-col.is-single { border-top-color: var(--brand); }
.scope-col h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-h3);
  overflow-wrap: break-word;
  hyphens: auto;
}
.scope-col.is-split h3 { color: var(--ink-muted); }
.scope-col ul { margin-top: 22px; display: grid; gap: 14px; }
.scope-col li { padding-left: 22px; position: relative; }
/* İşaret olarak liste noktası değil, 10px'lik kısa çizgi — .dash-line
   atomunun mikro hâli, marka dilinde kalır.                            */
.scope-col li::before {
  content: ""; position: absolute;
  left: 0; top: 11px;
  width: 10px; height: 0;
  border-top: 1px solid var(--line-gray);
}
.scope-col.is-single li::before { border-top-color: var(--brand); }

/* =====================================================================
   8. INTRO  (DE pazarına özel bölüm — token setiyle uyumlandırıldı)
   ===================================================================== */
.intro { padding: 80px 0 20px; text-align: center; }
.intro .kicker { color: var(--ink-muted); }
/* Ortalanmış blokta pseudo çizgi de ortalanır */
.intro .kicker::before { margin-left: auto; margin-right: auto; }
.intro h2 { margin-top: 18px; }
.intro h1,
.intro h2 {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: var(--fw-display);
  text-transform: uppercase;
}
.intro .claim {
  max-width: 1000px; margin: 22px auto 0;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.3; font-weight: 100;
}
.intro .lead {
  max-width: 820px; margin: 26px auto 0;
  text-align: justify; text-align-last: center;
}
/* Gütesiegel unter dem Intro-Text. Übernommen aus §9 (.product-card
   .badges), als der Abschnitt "Unsere Geschäftsbereiche" entfiel — gleiche
   Optik, hier aber zentriert, weil .intro insgesamt zentriert steht.     */
.intro .badges {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin: 30px auto 0;
}
.intro .badges span {
  border: 1px solid var(--line-soft);
  font-size: 11px; letter-spacing: .6px; text-transform: uppercase;
  color: #555; padding: 5px 11px;
}

/* =====================================================================
   9. BÖLÜM 2 — Ürün grupları  (.fragment_36228)
   ---------------------------------------------------------------------
   padding 40px 0 20px · bg #FFFFFF
   .fragment-title margin 40px 0 80px · center · uppercase
   2 × col-md-6 (610px) · görsel 580×465 · buton 227×48
   ===================================================================== */
.section-products { padding: 40px 0 20px; background: var(--white); }
.fragment-title {
  margin: 40px 0 80px;
  text-align: center;
  text-transform: uppercase;
  word-break: break-word;
}
/* Başlık bloğunun altına giren açıklama satırı — .fragment-title'ın
   uppercase'i cümleyi okunmaz yapıyor, burada geri alınır.            */
.fragment-lead {
  max-width: 720px;
  margin: 22px auto 0;
  text-transform: none;
  word-break: normal;
  color: var(--ink-muted);
}
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card > picture > img,
.product-card > img { width: 100%; aspect-ratio: 580 / 465; object-fit: cover; }

/* .caption — margin 30px 0 10px · başlık sol / show-more sağ */
.product-card .caption {
  display: flex; flex-wrap: wrap;
  align-items: flex-start; justify-content: space-between;
  gap: 20px; width: 100%; min-height: 30px;
  margin: 30px 0 10px;
}
.product-card .caption .show-more-link { flex: 0 0 auto; }
/* .dash-line margin 15px 10px 30px 0 (fr.36228) */
.product-card .caption .dash-line { margin: 0 0 0 0; }
.product-card .description { width: 75%; text-align: justify; }
.product-card .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.product-card .badges span {
  border: 1px solid var(--line-soft);
  font-size: 11px; letter-spacing: .6px; text-transform: uppercase;
  color: #555; padding: 5px 11px;
}
/* .download-link .btn margin 20px 0 50px
   margin-top:auto -> iki kartın butonu aynı taban çizgisine oturur    */
.product-card .btn { align-self: flex-start; margin: auto 0 50px; }

/* =====================================================================
   10. ZAHLEN / USP  (DE pazarına özel bant)
   ===================================================================== */
.usp { background: var(--header-bg); color: var(--white); padding: 74px 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.usp .n { font-size: clamp(34px, 4vw, 48px); line-height: 1; font-weight: 100; }
.usp .t {
  margin-top: 10px; color: #BDBCBB;
  font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase;
}
.usp-note { max-width: 860px; margin: 48px auto 0; text-align: center; color: #C9C8C7; }

/* =====================================================================
   11. BÖLÜM 3 — Müşterilerimiz  (.fragment_35518)
   ---------------------------------------------------------------------
   padding 80px 0 50px · bg #F6F6F6 · 3 × col-lg-4 (406px)
   .image 376×376 · .img-link 75px absolute
   ===================================================================== */
.section-customers { padding: 80px 0 50px; background: var(--surface-100); }
.customers-intro .description { width: 75%; text-align: justify; margin: 20px 0; }
.customers-intro .link-block { display: inline-flex; margin-bottom: 30px; }

.customer-card .image { position: relative; display: block; }
.customer-card .image > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
/* Özgüllük notu: yukarıdaki kural (0-2-1) .img-link'i de yakalar,
   bu yüzden overlay kuralı img.img-link (0-3-1) ile yazılmalı.        */
.customer-card .image > img.img-link {
  position: absolute; right: 0; bottom: 0;
  width: var(--img-link); height: var(--img-link);
  aspect-ratio: auto;
  transition: opacity var(--t-image);
}
.customer-card .image:hover .img-link,
.customer-card .image:focus-visible .img-link { opacity: .8; }
/* .caption — flex-column · text-left · margin 20px 0 */
.customer-card .caption {
  display: flex; flex-direction: column; text-align: left;
  width: 100%; margin: 20px 0;
}
.customer-card .caption .section-title { margin-bottom: 4px; }

/* =====================================================================
   12. BÖLÜM 4 — Haberler ve Etkinlikler  (NewsHomePortlet)
   ---------------------------------------------------------------------
   Başlık satırı: col-md-5 (sağ) + offset-2 + col-md-5 (sol)
   article 376×433 · bg #F6F6F6 · mb 15px · görsel 376×300
   Rozet 55×55 sol-üst · .date 10px 20px #5B5B5B · h2 16/19.2/400
   ===================================================================== */
.section-news { padding: 40px 0 60px; background: var(--white); }
.news-head { margin-bottom: 40px; }
.news-head .col-title { text-align: right; }
.news-head .col-text  { margin-left: 16.6667%; }
.news-head .dash-line.gray { margin-bottom: 16px; }

.news-card { margin-bottom: 15px; background: var(--surface-100); height: 100%; }
.news-card .media { position: relative; display: block; background: var(--brand); }
.news-card .media img.news-image {
  width: 100%; aspect-ratio: 376 / 300; object-fit: cover;
  transition: opacity var(--t-image);
}
/* §4.1: .news-image:hover -> opacity .5 üzerine kırmızı film */
.news-card .media:hover img.news-image,
.news-card .media:focus-visible img.news-image { opacity: .5; }
.news-card .img-blog {
  position: absolute; top: 0; left: 0;
  width: var(--badge); height: var(--badge);
}
.news-card .date {
  padding: 10px 20px;
  color: var(--ink-muted);
  font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-body);
}
.news-card h3.text {
  padding: 0 20px; margin: 0 0 15px;
  font-size: var(--fs-card-title);
  line-height: var(--lh-card-title);
  font-weight: var(--fw-card-title);
}
.news-cta { display: flex; justify-content: center; margin-top: 32px; }

/* =====================================================================
   13. KONTAKT  (DE pazarına özel bölüm)
   ===================================================================== */
.section-contact { padding: 80px 0; background: var(--surface-200); }
.k-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.section-contact p.lead { margin: 18px 0 24px; }
form.k .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.k input, form.k select, form.k textarea {
  width: 100%; margin-bottom: 14px; padding: 13px 14px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  font: inherit; font-size: var(--fs-body);
}
form.k input:focus-visible, form.k select:focus-visible, form.k textarea:focus-visible {
  outline: 2px solid var(--brand); outline-offset: -2px;
}
form.k [aria-invalid="true"] { border-color: var(--brand); }
/* Kontrast: --brand (#E22119) auf --surface-200 (#EFEFEF) ergibt nur 4,09:1.
   Auf den grauen Flaechen deshalb --brand-dark (#B71A14 = 5,76:1).
   WCAG 2.2 AA 1.4.3, Lighthouse-Audit `color-contrast`.               */
form.k .err {
  display: none; margin: -10px 0 12px;
  color: var(--brand-dark); font-size: 14px; line-height: 20px;
}
form.k .err.show { display: block; }
form.k label.chk {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 14px; line-height: 20px; color: #444;
}
/* Dokunmatik için büyütülmüş onay kutusu (tarayıcı varsayılanı 13×13px).
   Etiketin tamamı tıklanabilir olduğu için hedef zaten geniş; kutunun
   kendisi de parmakla isabet edilebilir boyuta çıkarılır.              */
form.k label.chk input[type="checkbox"] {
  flex: 0 0 auto;
  width: 24px; height: 24px;   /* WCAG 2.5.8 asgari hedef */
  margin: 0;
  accent-color: var(--brand);
}
form.k label.chk a { color: var(--brand-dark); text-decoration: underline; }
/* Honigtopf: aus dem Sichtfeld geschoben statt display:none — manche Bots
   ueberspringen ausgeblendete Felder. aria-hidden + tabindex="-1" stehen
   im Markup, Screenreader und Tastatur erreichen das Feld also nicht.   */
form.k .k-hp {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
form.k .btn { margin-top: 8px; }
form.k .btn[disabled] { opacity: .6; cursor: progress; }
form.k .formnote { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
form.k .formnote.ok { color: #1B7F3B; font-weight: 400; }
/* Fehlermeldung des Absendens — gleicher Kontrastgrund wie bei .err. */
form.k .formnote.bad { color: var(--brand-dark); }

.k-info dl { margin-top: 18px; }
.k-info dt { margin-top: 16px; font-weight: 500; }
.k-info dd { color: #3A3A3A; }
.k-info a { color: var(--brand-dark); }
/* ---- Standortkarte — Zwei-Klick-Lösung (assets/js/main.js §9) ------
   Vor der Einwilligung geht KEINE Anfrage hinaus: die Vorschau ist reines
   Markup, das Raster kommt aus zwei CSS-Verläufen statt aus einem Bild.
   Nach dem Klick ersetzt das iframe nur `.map-card`; `.map-cap` bleibt.  */
.map { margin: 26px 0 22px; border: 1px solid var(--line-soft); }
.map-card {
  padding: 28px 22px 24px; text-align: center;
  background: var(--surface-100);
  background-image:
    linear-gradient(to right,  rgba(0, 0, 0, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, .05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-pin { display: block; width: 34px; height: 34px; margin: 0 auto 10px; color: var(--brand); }
.map-adr { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--ink); }
.map-note {
  max-width: 42ch; margin: 12px auto 0;
  font-size: 13px; line-height: 19px; color: var(--ink-muted);
}
.map-note a { color: var(--brand-dark); text-decoration: underline; }
.map-actions { margin-top: 18px; }
.map-remember {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; font-size: 13px; color: var(--ink-muted); cursor: pointer;
}
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.map-cap {
  padding: 11px 14px; font-size: 14px; line-height: 20px;
  border-top: 1px solid var(--line-soft); background: var(--white);
}
.map-cap a { color: var(--brand-dark); text-decoration: underline; }
.map-cap a:hover { color: var(--brand); }

/* =====================================================================
   14. FOOTER  (§1.3)
   ---------------------------------------------------------------------
   bg #EFEFEF · .bottom-footer display flex
   sol: logo · copyright (bold) · links-map ("•" ayraçlı)
   sağ: 2 × (follow-us uppercase bold + rrss daire ikonlar)
   ===================================================================== */
#footer { background: var(--surface-200); padding: 56px 0 48px; }
.bottom-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.left-section { max-width: 640px; }
.left-section .logo-footer { width: 190px; margin-bottom: 28px; }
.copyright { font-weight: 700; margin-bottom: 18px; }
.links-map { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.links-map li { display: flex; align-items: center; gap: 8px; }
.links-map li:not(:last-child)::after { content: "\2022"; color: var(--line-gray); }
.right-section { display: flex; flex-direction: column; gap: 26px; }
.follow-us { font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.rrss { display: flex; gap: 10px; }
.rrss a {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--header-bg); color: var(--white);
  display: grid; place-items: center;
  transition: background var(--t-default);
}
.rrss a:hover { background: var(--brand); color: var(--white); }
.rrss svg { width: 16px; height: 16px; fill: currentColor; }

/* =====================================================================
   15. OVERLAY'LER
   ===================================================================== */

/* ---- Sticky CTA (§4.2) — fixed right · 150×150 · z 9999 ----------- */
.sticky-wcc {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%);
  width: var(--sticky-cta); height: var(--sticky-cta);
  z-index: var(--z-sticky);
  background: var(--brand);
  display: grid; place-items: center; padding: 10px;
  transition: filter var(--t-filter), opacity var(--t-default), visibility var(--t-default);
}
.sticky-wcc:hover { filter: brightness(1.12); }
/* Mega menü / panel / arama açıkken sticky CTA (z 9999) içeriği örtmesin */
body.overlay-open .sticky-wcc { opacity: 0; visibility: hidden; pointer-events: none; }
.sticky-wcc img { width: 100%; height: 100%; object-fit: contain; }

/* ---- Arama overlay (§4.3-B) --------------------------------------
   fixed · top = header · w 100% · rgba(255,255,255,.7) · z 5         */
.search-window {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: var(--z-search);
  display: flex; align-items: center;
  border-bottom: 1px solid var(--line-soft);
}
.search-window[hidden] { display: none; }
.search-window .icon-search-input {
  width: 50px; height: 50px; flex: 0 0 auto;
  margin: 75px 20px 50px 150px;
}
.search-window form { width: 80%; margin-right: auto; }
.search-window input {
  width: 100%; padding: 12px 0;
  border: 0; border-bottom: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-sans); font-weight: 200; font-size: 28px;
  color: var(--ink);
}
.search-window input::placeholder { color: #6b6b6b; }
/* §9-3 / §9-11: orijinalde focus ring kaldırılmış ve aria yok — düzeltildi */
.search-window input:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.search-window .close-search {
  background: none; border: 0; cursor: pointer; padding: 12px;
  margin-right: 24px; color: var(--ink);
}
.search-window .close-search svg { width: 22px; height: 22px; fill: currentColor; }

/* ---- İletişim / Paylaş paneli (§4.3-C) ---------------------------
   fixed right · h 100% · bg kırmızı · z 50
   genişlik: ≥1200 -> 30% · 768–1199 -> 70% · ≤767 -> 100%            */
.contactshare-window {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--brand); color: var(--white);
  z-index: var(--z-panel);
  transform: translateX(100%);
  transition: transform var(--t-default);
  display: flex; flex-direction: column;
}
.contactshare-window.open { transform: none; }
@media (min-width: 768px)  { .contactshare-window { width: 70%; } }
@media (min-width: 1200px) { .contactshare-window { width: 30%; } }
.contactshare-window .close-button { padding: 15px 30px; }
.contactshare-window .close-button button {
  width: 40px; height: 40px;
  background: none; border: 0; cursor: pointer; color: var(--white);
  display: grid; place-items: center;
}
.contactshare-window .close-button svg { width: 22px; height: 22px; fill: currentColor; }
.contactshare-section { margin: auto 30px 40px; }
.contactshare-section .title { font-size: 40px; line-height: 45px; font-weight: 300; }
.contactshare-section .description { margin: 18px 0 26px; }
.contactshare-section .link {
  display: block; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.4);
  font-size: 18px;
}
.contactshare-section .link:hover { color: var(--white); padding-left: 6px; }
.contactshare-section .share { margin: 26px 0 12px; text-transform: uppercase; font-weight: 700; }
.share-links { display: flex; gap: 12px; }
.share-links a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.6);
  display: grid; place-items: center; color: var(--white);
  transition: background var(--t-default), color var(--t-default);
}
.share-links a:hover { background: var(--white); color: var(--brand); }
.share-links svg { width: 16px; height: 16px; fill: currentColor; }

/* Panel/drawer açıkken arka plan karartma */
.scrim {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: calc(var(--z-panel) - 1);
  opacity: 0; transition: opacity var(--t-default);
}
.scrim[hidden] { display: none; }
.scrim.show { opacity: 1; }
body.no-scroll { overflow: hidden; }

/* ---- Cookie banner (TTDSG: ön onay yok) --------------------------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  background: var(--header-bg); color: var(--white);
  padding: 20px 24px;
  display: flex; flex-wrap: wrap; gap: 22px;
  align-items: center; justify-content: center;
  font-size: 14px; line-height: 20px;
}
.cookie[hidden] { display: none; }
.cookie p { max-width: 760px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* =====================================================================
   15b. YASAL SAYFALAR (impressum / datenschutz / cookies)
   Aynı token setini kullanır; kendi <style> bloklarına gerek yoktur.
   ===================================================================== */
.subheader { background: var(--header-bg); padding: 20px 0; }
.subheader .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.subheader img { height: 47px; width: auto; }
.subheader a { color: var(--white); font-size: 15px; }
.subheader a:hover { color: var(--brand); }
/* Sprachwechsel + Rücksprung stehen zusammen rechts. Die Unterseiten haben
   keine Navbar, also auch keine .langsel — ohne diesen Link wäre die
   türkische Fassung von Impressum & Co. nur über die Startseite erreichbar. */
.subheader__end { display: flex; align-items: center; gap: 18px; }
.subheader .langlink {
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.28);
  font-size: 14px; letter-spacing: .04em;
}
.subheader .langlink:hover { border-color: var(--brand); }

/* Hinweis auf den übersetzten Pflichtseiten: verbindlich ist das deutsche
   Original. Kein Warnrot — es ist ein Hinweis, kein Fehler. */
.legal-note {
  margin: 0 0 28px;
  padding: 12px 16px;
  border-left: 3px solid var(--brand);
  background: var(--surface-100);
  font-size: 15px; line-height: 24px;
}

.legal { max-width: 820px; margin: 0 auto; padding: 60px 20px 90px; }
.legal h1 {
  margin-bottom: 24px;
  font-size: var(--fs-display); line-height: var(--lh-display);
  font-weight: var(--fw-display); text-transform: uppercase;
  /* "DATENSCHUTZERKLÄRUNG" gibi uzun Almanca bileşik kelimeler dar
     ekranda satıra sığmıyor ve sayfayı yatay kaydırılabilir yapıyordu. */
  overflow-wrap: break-word;
  hyphens: auto;
}
.legal h2 { margin: 34px 0 10px; font-size: 20px; line-height: 28px; font-weight: 500; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--brand-dark); text-decoration: underline; }
.legal code { background: var(--surface-100); padding: 2px 6px; }
.legal .note { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.legal .note.ok { color: #1B7F3B; }

/* =====================================================================
   16. RESPONSIVE  (§2.7)
   ===================================================================== */

/* ≤1199px — navbar çöker, mega menü drawer'a devrolur.
   Utility bar absolute konumdan çıkıp burger'ın soluna akar.          */
@media (max-width: 1199px) {
  .search-window .icon-search-input { margin: 50px 20px 50px 50px; }
  .utility {
    position: static;
    margin-left: auto;
    gap: 10px;
  }
  .utility .sep { display: none; }
  .utility .icon-myfagor { height: 17px; }
  .logo-claim-box { display: none; }
  /* Info-Cluster schrumpft auf das Telefon-Icon (44×44 Ziel, WCAG 2.5.8) */
  .util-info { gap: 0; margin-right: 0; }
  .util-meta, .util-phone-text { display: none; }
  .util-phone { padding: 13px; }
  .util-phone svg { width: 18px; height: 18px; }
  .burger { margin-left: 6px; margin-right: 16px; }
  .logo { margin-left: 16px; }
  .logo img { height: 47px; }
}

/* ≤575px — utility bar yalnız arama + paylaş */
@media (max-width: 575px) {
  .utility .util-myfagor,
  .utility .langsel { display: none; }
}

/* ≤991px */
@media (max-width: 991px) {
  .col-4 { flex: 0 0 100%; max-width: 100%; }
  .customers-intro .link-block { margin-bottom: 30px; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  /* Başlık + "Mehr anzeigen" yarım kolona yan yana sığmaz (768px'te taşıyordu) */
  .product-card .caption { flex-direction: column; gap: 12px; margin: 20px 0 10px; }
  .section-turnkey { padding: 62px 0 58px; }
  .turnkey-title { max-width: none; }
}

/* ---------------------------------------------------------------------
   TABLET (768–991px) — 3 kolonluk bloklar tek kolona düşmek yerine
   2 kolona iner. Orijinal tema burada her şeyi tam genişliğe alıyordu;
   iPad portre (768–834px) için bu çok fazla dikey kaydırma demekti.
   --------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991px) {
  .section-news .col-4,
  .section-customers .col-4 { flex: 0 0 50%; max-width: 50%; }
  /* Müşteriler: metin kolonu tam genişlik, 2 referans kartı yan yana */
  .section-customers .row > .col-4:first-child { flex: 0 0 100%; max-width: 100%; }
  .customers-intro .description { width: 100%; max-width: 640px; }
  /* %75 genişlik yarım kolonda 236px'e düşüyordu — satır çok kısa kalıyor */
  .product-card .description { width: 100%; }
}

/* ≤767px — .col-md-6 / .col-md-4 tam genişlik */
@media (max-width: 767px) {
  .col-6, .col-5 { flex: 0 0 100%; max-width: 100%; }
  .section-products { padding: 24px 0 10px; }
  .fragment-title { margin: 24px 0 40px; }
  .scope-grid { grid-template-columns: 1fr; }
  .section-scope { padding: 50px 0 40px; }
  .section-customers { padding: 50px 0 30px; }
  .section-contact { padding: 50px 0; }
  .news-head .col-title { text-align: left; }
  .news-head .col-text { margin-left: 0; margin-top: 20px; }
  .product-card .description,
  .customers-intro .description { width: 100%; }
  /* Hero görsellerinde artık gömülü kampanya metni yok (mutfak
     fotoğrafları): dar ekranda kompozisyonun merkezi korunur. */
  .hero-slide img { object-position: center center; }
  .k-grid { grid-template-columns: 1fr; gap: 40px; }
  .search-window .icon-search-input { width: 34px; height: 34px; margin: 25px 16px 25px 25px; }
  .search-window input { font-size: 20px; }
  .sticky-wcc { width: 96px; height: 96px; }
  .bottom-footer { flex-direction: column; }
}

/* ≤575px */
@media (max-width: 575px) {
  .usp-grid { grid-template-columns: 1fr; }
  form.k .row2 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .product-card .btn { width: 100%; }
  .intro { padding: 50px 0 10px; }
  .sticky-wcc { width: 72px; height: 72px; padding: 6px; }
  .section-turnkey { padding: 46px 0 44px; }
  .turnkey-cta { gap: 12px; }
  .scope-col { padding: 26px 22px 30px; }
}

/* =====================================================================
   16b. MOBİL & TABLET İNCE AYARLARI
   Dokunmatik kullanım, okunabilirlik ve çentikli ekranlar.
   ===================================================================== */

/* ---- Dokunmatik cihaz davranışı ----------------------------------- */
@media (hover: none) {
  /* Hover ile açılan mega menü dokunmatikte kilitlenmesin: JS zaten
     tıklama ile aç/kapa yapıyor, burada yalnız imleç efektleri sönüyor. */
  .catalog-tile:hover { transform: none; }
  .news-card .media:hover img.news-image { opacity: 1; }
}

/* iOS Safari, 16px'ten küçük yazı tipli alana odaklanınca sayfayı
   otomatik yakınlaştırır. Tüm form alanları en az 16px olmalı.        */
@media (max-width: 991px) {
  input, select, textarea { font-size: 16px; }
}

/* ---- Dokunma hedefleri (WCAG 2.5.8: en az 24×24px) ---------------- */
a, button, [role="button"], input, select, textarea, summary {
  -webkit-tap-highlight-color: rgba(226, 33, 25, .15);
}
a, button, [role="button"] { touch-action: manipulation; }

@media (max-width: 1199px) {
  /* Header ikon butonları: 18px ikon -> 44×44 dokunma alanı */
  .icobtn { padding: 13px; }
  .burger { padding: 12px 10px; }
  /* Footer künye linkleri ve sosyal ikonlar */
  .links-map a { display: inline-block; padding: 6px 0; }
  .rrss a { width: 44px; height: 44px; }
  .show-more-link { padding: 6px 0; }
  /* Yasal sayfa alt linkleri */
  .subheader a { padding: 6px 0; }
}

/* ---- Okunabilirlik ------------------------------------------------ */
/* Blok hizalama (justify) dar kolonlarda kelimeler arasında "nehirler"
   oluşturuyor. 992px altında normal hizalama + Almanca tireleme.      */
@media (max-width: 991px) {
  .product-card .description,
  .customers-intro .description,
  .intro .lead,
  .section-contact p.lead,
  .legal p, .legal li {
    text-align: start;
    text-align-last: auto;
    hyphens: auto;
  }
  .title-display, .title-2, .section-title, .p-group-title {
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* Çok dar ekranlarda display başlığı 35px de taşabiliyor */
@media (max-width: 400px) {
  :root { --fs-display: 30px; --lh-display: 38px; }
}

/* ---- Sticky CTA ----------------------------------------------------
   Dikeyde ortalanmış 150px'lik kutu tablet ve telefonda okunan içeriğin
   üzerine biniyordu. 991px altında sağ alt köşeye demirlenir.          */
@media (max-width: 991px) {
  .sticky-wcc {
    top: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    transform: none;
  }
  /* Çerez banner'ı açıkken CTA'nın üstünde kalmasın */
  body.cookie-open .sticky-wcc { display: none; }
}

/* ---- Çentikli ekranlar (safe-area) -------------------------------- */
.cookie {
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  padding-left: calc(24px + env(safe-area-inset-left, 0px));
  padding-right: calc(24px + env(safe-area-inset-right, 0px));
}
.contactshare-section { padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }

/* Dinamik viewport: mobil tarayıcı adres çubuğu daralıp genişlerken
   100vh yüksekliğindeki paneller zıplamasın.                          */
@supports (height: 100dvh) {
  .contactshare-window { height: 100dvh; bottom: auto; }
  .drawer { height: calc(100dvh - var(--header-h)); bottom: auto; }
}

/* =====================================================================
   17. HAREKET AZALTMA / PRINT
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

@media print {
  #banner, .drawer, .sticky-wcc, .cookie, .hero, .search-window,
  .contactshare-window, .scrim, .hero-dots, .hero-pause { display: none !important; }
  body { color: #000; }
  .container { max-width: 100%; }
}

/* =====================================================================
   18. FAQ (GEO) — natives <details>-Akkordeon, kein JavaScript.
   Antworten stehen auch im geschlossenen Zustand im DOM und sind
   damit für Crawler und KI-Antwortmaschinen lesbar.
   Markup wird aus geo/site.config.json erzeugt (tools/geo-build.mjs).
   ===================================================================== */
.section-faq { padding: 64px 0; background: var(--surface-100); }
.faq-head { margin-bottom: 32px; }
.faq-head .col-title { text-align: right; }
.faq-head .col-text  { margin-left: 16.6667%; }
.faq-head .dash-line.gray { margin-bottom: 16px; }

/* 2.19.0 — Der Abschnitt war zu gross geworden: die Fragen standen in
   --fs-h3 (24/28,8) mit 22px Innenabstand, eine geschlossene Zeile also
   rund 74px. Bei 13 Fragen lief die Startseite ueber 1000px weit nur an
   Ueberschriften entlang. Jetzt 17/25,5 und 13px Innenabstand (~52px je
   Zeile) und ab 992px zwei Spalten — rechnerisch aus ~1055px Blockhoehe
   rund 400px. Aufklappbar war die Liste schon vorher (natives <details>);
   die Antworten bleiben im DOM, auch geschlossen. */
.faq-col { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); background: var(--white); }

/* Untereinander stehende Spalten brauchen nur EINE Trennlinie, sonst
   liegen Unterkante der letzten Frage und Oberkante der naechsten Spalte
   als 2px aufeinander. */
.faq-col + .faq-col { border-top: 0; }

@media (min-width: 992px) {
  .faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    align-items: start;
  }
  .faq-col + .faq-col { border-top: 1px solid var(--line-soft); }
}

.faq-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 18px; cursor: pointer; list-style: none;
  font-size: 17px; line-height: 25.5px; font-weight: 500;
  color: var(--ink); transition: color var(--t-btn);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--brand); }
.faq-item > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

/* Chevron: 45° = zu, -135° = offen */
.faq-item > summary::after {
  content: ""; flex: 0 0 10px; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t-default);
}
.faq-item[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq-answer {
  padding: 0 18px 16px;
  font-size: 15px; line-height: 22.5px; font-weight: var(--fw-body);
  color: var(--ink-slate);
}
.faq-answer p { max-width: 62ch; margin: 0; }
/* --brand auf --surface-100 (#F6F6F6) = 4,35:1 -> --brand-dark = 6,13:1 */
.faq-head a { color: var(--brand-dark); }

@media (max-width: 767px) {
  .section-faq { padding: 44px 0; }
  .faq-head .col-title { text-align: left; }
  .faq-head .col-text  { margin-left: 0; margin-top: 20px; }
  /* Auf dem Telefon standen die Fragen in --fs-h2 (26px) — groesser als am
     Desktop. Hier reicht knapp ueber Fliesstext; die Tipp-Flaeche bleibt mit
     25,5px Zeile und 2×12px Innenabstand bei 49px (WCAG 2.5.8: 24px). */
  .faq-item > summary { padding: 12px 16px; gap: 14px; font-size: 16px; line-height: 25.5px; }
  .faq-answer { padding: 0 16px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item > summary::after { transition: none; }
}
