/* ══ Footer wie auf der Startseite, auf allen Seiten gleich (28.09.2026) ═════════════
   Markup 1:1 aus index.html (#siteDesktop footer), Regeln aus assets/css/index-desktop.css mit festen
   Werten, damit er in hellen und dunklen Seitenfamilien identisch aussieht. Mobil kompakt (vorher bis
   ueber 2000px hoch). Wird als letzte Datei geladen. */
footer:has(> .shell > .footer-grid){background:#0a0a0a;color:#ccc;padding:80px 0 36px;border-top:1px solid rgba(255,255,255,.06)}
footer .footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:72px;margin-bottom:64px;align-items:start}
footer .footer-brand{display:flex;flex-direction:column;gap:20px;max-width:340px}
footer .footer-brand img{height:30px;width:auto;max-width:220px;filter:brightness(0) invert(1)}
footer .footer-brand p{font-size:13.5px;color:#999;line-height:1.65;margin:0}
footer .footer-social{display:flex;gap:4px;margin-top:8px}
footer .footer-social a{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.06);display:inline-flex;align-items:center;justify-content:center;color:#c0c0c0;transition:color .2s,border-color .2s,background .2s}
footer .footer-social a:hover{border-color:rgba(245,245,240,.28);color:#fff;background:rgba(245,245,240,.04)}
footer .footer-social svg{width:16px!important;height:16px!important;stroke:currentColor;fill:none;stroke-width:1.6}
footer .footer-col h4{font-family:inherit;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#bf9f77;margin:0 0 12px;font-weight:400}
footer .footer-col a{display:flex;align-items:center;min-height:44px;font-size:13.5px;color:#ccc;text-decoration:none;transition:color .2s ease}
footer .footer-col a:hover{color:#fff}
footer .footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding-top:28px;border-top:1px solid rgba(255,255,255,.06);font-size:12px;color:#999}
footer .footer-bottom-links{display:flex;gap:24px}
footer .footer-bottom-links a{color:#999;text-decoration:none;transition:color .2s}
footer .footer-bottom-links a:hover{color:#f5f5f0}
@media (max-width:1024px){
  footer .footer-grid{grid-template-columns:1fr 1fr 1fr;gap:40px}
  footer .footer-brand{grid-column:1/-1;max-width:none}
}
@media (max-width:768px){
  footer:has(> .shell > .footer-grid){padding:48px 0 max(120px,env(safe-area-inset-bottom))}
  footer .footer-grid{grid-template-columns:1fr!important;gap:22px!important;margin-bottom:24px}
  footer .footer-brand{grid-column:1/-1;align-items:flex-start;gap:14px;padding-bottom:22px;border-bottom:1px solid rgba(255,255,255,.06)}
  footer .footer-col{display:flex;flex-wrap:wrap;column-gap:18px;padding:0!important;margin:0!important;border:0!important}
  footer .footer-col h4{flex:0 0 100%;margin:0 0 2px!important}
  footer .footer-col .footer-col-titel{flex:0 0 100%;margin:0 0 2px!important}
  footer .footer-col a{display:inline-flex;min-height:38px;font-size:13px}
  footer .footer-bottom{flex-direction:column;align-items:flex-start;gap:8px;padding-top:20px}
  footer .footer-bottom-links a{display:inline-flex;align-items:center;min-height:44px}
}

/* ══ Handy: Footer wie auf der Startseite (.ft-footer aus dem Mobil-Teil von index.html) ══
   Bis 768px ersetzt er den Desktop-Footer; Regeln 1:1 aus assets/css/index.css mit festen Werten. */
.ft-footer{display:none}
@media (max-width:768px){
  footer:has(> .shell > .footer-grid){display:none!important}
  .ft-footer{display:block}
  /* Unter dem Footer haelt body{padding-bottom:84px} Platz fuer die untere Leiste frei. Auf hellen Seiten stand
     dort ein heller Streifen (Murat Ulusoy 07.10.2026: "im footer ist ein weisses feld"). Der Schatten setzt
     das Schwarz des Footers nach unten fort, ohne die Seite laenger zu machen. */
  .ft-footer{box-shadow:0 120px 0 #0a0a0a}
  .ft-footer{padding:72px 22px max(40px,env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.08);background:#0a0a0a;font-family:"Gotham",ui-sans-serif,system-ui,sans-serif}
  .ft-shell{max-width:460px;margin:0 auto;width:100%}
  .ft-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-bottom:32px;align-items:start}
  .ft-brand{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding-bottom:36px;margin-bottom:0;border-bottom:1px solid rgba(255,255,255,.08)}
  .ft-brand img{height:30px;width:auto;margin:0;filter:brightness(0) invert(1)}
  .ft-brand p{max-width:32ch;margin:0;font-size:13.5px;color:#999;line-height:1.65}
  .ft-social{display:flex;gap:4px;margin-top:8px}
  .ft-social a{width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.08);display:inline-flex;align-items:center;justify-content:center;color:#c0c0c0;transition:border-color .25s cubic-bezier(.23,1,.32,1),color .25s cubic-bezier(.23,1,.32,1),background .25s cubic-bezier(.23,1,.32,1)}
  .ft-social a:hover{border-color:#f5f5f047;color:#fff;background:#f5f5f00a}
  .ft-social svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.6}
  .ft-grid>div.ft-rubrik{display:flex;align-items:center;justify-content:center;padding:28px 16px}
  .ft-grid>div.ft-rubrik:nth-of-type(2){border-right:1px solid rgba(255,255,255,.08);padding-left:0}
  .ft-grid>div.ft-rubrik:nth-of-type(3){padding-right:0}
  .ft-grid>div.ft-rubrik a{display:inline-block;padding:8px 0;transition:transform .25s cubic-bezier(.23,1,.32,1)}
  .ft-grid>div.ft-rubrik h3{margin:0;padding:0;font-family:"Fraunces",Georgia,serif;font-weight:300;font-size:20px;letter-spacing:-.015em;text-transform:none;color:#f5f5f0;transition:color .25s cubic-bezier(.23,1,.32,1);white-space:nowrap}
  @media(hover:hover)and (pointer:fine){.ft-grid>div.ft-rubrik a:hover{transform:translateY(-2px)}}
  @media(hover:hover)and (pointer:fine){.ft-grid>div.ft-rubrik a:hover h3{color:#fff}}
  .ft-grid>div.ft-klinik{grid-column:1 / -1;padding:16px 0 0;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center}
  .ft-grid>div.ft-klinik ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:0;align-items:center}
  .ft-grid>div.ft-klinik ul li{display:inline-flex;align-items:center}
  .ft-grid>div.ft-klinik ul li:not(:last-child):after{content:"";width:3px;height:3px;border-radius:50%;background:#c0c0c0;opacity:.45;display:inline-block;margin:0 4px}
  .ft-grid>div.ft-klinik ul a{font-size:13px;padding:13px 0;color:#ccc;transition:color .2s cubic-bezier(.23,1,.32,1),transform .2s cubic-bezier(.23,1,.32,1);display:inline-flex;align-items:center;touch-action:manipulation}
  .ft-grid>div.ft-klinik ul a:hover{color:#fff}
  @media(hover:hover)and (pointer:fine){.ft-grid>div.ft-klinik ul a:hover{transform:translate(2px)}}
  .ft-bottom{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;padding-top:32px;border-top:1px solid rgba(255,255,255,.08);font-size:12px;color:#999}
  .ft-bottom span{order:2;font-size:11px;opacity:.7;letter-spacing:.005em}
  .ft-bottom-links{order:1;display:flex;flex-wrap:wrap;justify-content:center;gap:0 20px}
  .ft-bottom-links a{font-size:12px;padding:13px 0;display:inline-block;touch-action:manipulation;transition:color .2s cubic-bezier(.23,1,.32,1)}
  .ft-bottom-links a:hover{color:#f5f5f0}
  .ft-grid>div.ft-rubrik a:active{transform:scale(.97)}
  .ft-grid>div.ft-rubrik a:active h3{color:#fff}
  .ft-grid>div.ft-klinik ul a:active{color:#fff;transform:translate(2px)}
  .ft-bottom-links a:active{color:#f5f5f0}
  .ft-social a:active{border-color:#f5f5f047;color:#fff;background:#f5f5f00f}
  @media(prefers-reduced-motion:reduce){.ft-footer *{transition:none!important}}
  .ft-footer{padding-bottom:max(120px,env(safe-area-inset-bottom))}
  /* Link-Farben wie auf der Startseite (dort setzt index.css Links global zurueck, manche Seiten nicht) */
  .ft-footer a{color:inherit;text-decoration:none}
  .ft-footer .ft-rubrik a,.ft-footer .ft-rubrik h3{color:#f5f5f0;text-decoration:none}
  .ft-footer .ft-klinik a{color:#ccc}
  .ft-footer .ft-bottom-links a{color:#999}
  .ft-footer .ft-social a{color:#c0c0c0}
}

/* Footer-Beschriftungen sind keine Ueberschriften mehr (07.10.2026, Murat Ulusoy: "H3/H4 sind noch sehr oft als
   dekorative Ueberschriften vorhanden"): .footer-col h4 -> p.footer-col-titel, .ft-rubrik h3 -> span.ft-rubrik-titel.
   Gleiches Aussehen wie vorher. */
footer .footer-col .footer-col-titel{font-family:inherit;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:#bf9f77;margin:0 0 12px;font-weight:400;line-height:1.4}
@media (max-width:900px){footer .footer-col .footer-col-titel{margin-bottom:4px}}
.ft-grid>div.ft-rubrik .ft-rubrik-titel{display:block;margin:0;padding:0;font-family:"Fraunces","Fraunces Ersatz",Georgia,serif;font-weight:300;font-size:20px;line-height:1.2;letter-spacing:-.015em;text-transform:none;color:#f5f5f0;transition:color .25s cubic-bezier(.23,1,.32,1);white-space:nowrap}
@media(hover:hover) and (pointer:fine){.ft-grid>div.ft-rubrik a:hover .ft-rubrik-titel{color:#fff}}
.ft-grid>div.ft-rubrik a:active .ft-rubrik-titel{color:#fff}

/* ══ Kein heller Streifen unter dem Footer bei 769–1330 px (UX-Check 07.10.2026, A4: „weisse Flaeche, man kann weiter
   scrollen“). nav.css, standort-1.css und mehrere Familien-CSS geben dem body bis 1330 px padding-bottom:84px als Platz
   fuer Dock bzw. Stickybar; dieser Platz lag unter dem dunklen Footer im hellen Seitenhintergrund. Bis 768 px deckt ihn
   Murats Schatten am .ft-footer (oben); zwischen 769 und 1330 px ist weder Dock noch Stickybar sichtbar (stickybar.css
   blendet sie ab 769 px aus), der Platz entfaellt dort. Nicht auf den Magazinseiten (Murats Stand, Nutzer 08.10.2026). ══ */
@media (min-width:769px) and (max-width:1330px){
  :where(html:not(:has(link[data-quellen*="css/blog"],link[href*="css/blog"]))) body:has(footer > .shell > .footer-grid){padding-bottom:0!important}
}

/* ── Newsletter oben im Footer (09.10.2026, werkzeuge/newsletter_fuss.py) ────────────────────────────────── */
:is(.ft-footer,footer) .ft-news{display:grid;grid-template-columns:1fr minmax(320px,1fr);gap:64px;align-items:center;padding:0 0 56px;margin:0 0 56px;border-bottom:1px solid rgba(255,255,255,.08)}
:is(.ft-footer,footer) .ft-news-titel{font-family:'Fraunces','Fraunces Ersatz',Georgia,serif;font-weight:300;font-size:clamp(28px,2.8vw,40px);line-height:1.08;letter-spacing:-.02em;color:#f5f5f0;margin:0;max-width:16ch}
:is(.ft-footer,footer) .ft-news-titel em{font-style:italic;color:#bf9f77}
:is(.ft-footer,footer) .ft-news-text p{font-size:14px;line-height:1.6;color:#999;margin:14px 0 0;max-width:42ch}
:is(.ft-footer,footer) .ft-news-form{display:flex;flex-direction:column;gap:12px;margin:0}
:is(.ft-footer,footer) .ft-news-feld{display:flex;align-items:center;border-bottom:1px solid rgba(245,245,240,.5);padding-bottom:4px;transition:border-color .2s}
:is(.ft-footer,footer) .ft-news-feld:focus-within{border-bottom-color:#bf9f77}
:is(.ft-footer,footer) .ft-news-feld input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:16px;color:#f5f5f0;outline:none;padding:14px 0}
:is(.ft-footer,footer) .ft-news-feld input::placeholder{color:#8a8a8a}
:is(.ft-footer,footer) .ft-news-feld button{background:transparent;border:0;color:#f5f5f0;font:inherit;font-size:12px;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;padding:0 4px;min-height:44px;white-space:nowrap}
:is(.ft-footer,footer) .ft-news-feld button:hover,:is(.ft-footer,footer) .ft-news-feld button:focus-visible{color:#bf9f77}
:is(.ft-footer,footer) .ft-news-klein{font-size:12px;line-height:1.55;color:#8a8a8a;margin:0;max-width:46ch}
:is(.ft-footer,footer) .ft-news-klein a{color:inherit;text-decoration:underline;text-underline-offset:2px}
:is(.ft-footer,footer) .ft-news-status{font-size:13px;line-height:1.5;color:#bf9f77;margin:0}
@media (max-width:768px){
  :is(.ft-footer,footer) .ft-news{grid-template-columns:1fr;gap:24px;padding-bottom:36px;margin-bottom:36px}
  :is(.ft-footer,footer) .ft-news-titel{font-size:30px}
}
/* Label nur fuer Screenreader (nicht jede Seitenfamilie kennt .visually-hidden) */
:is(.ft-footer,footer) .ft-news .visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}

/* Newsletter mobil (09.10.2026, Murat: "mobile besser designen"): eigene Karte, Feld gerahmt, Knopf in voller Breite */
:is(.ft-footer,footer) .ft-news .visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
@media (max-width:768px){
  :is(.ft-footer,footer) .ft-news{grid-template-columns:1fr;gap:22px;padding:30px 22px 26px;margin:0 0 40px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:#121212;text-align:left}
  :is(.ft-footer,footer) .ft-news-titel{font-size:29px;line-height:1.1;max-width:none}
  :is(.ft-footer,footer) .ft-news-text p{font-size:14.5px;margin-top:12px;max-width:none}
  :is(.ft-footer,footer) .ft-news-form{gap:12px}
  :is(.ft-footer,footer) .ft-news-feld{flex-direction:column;align-items:stretch;gap:10px;border-bottom:0;padding:0}
  :is(.ft-footer,footer) .ft-news-feld input{width:100%;min-height:52px;padding:14px 16px;border:1px solid rgba(245,245,240,.22);border-radius:12px;background:#0a0a0a;font-size:16px;transition:border-color .2s}
  :is(.ft-footer,footer) .ft-news-feld input:focus{border-color:#bf9f77}
  :is(.ft-footer,footer) .ft-news-feld button{width:100%;min-height:52px;border-radius:999px;background:#bf9f77;color:#0a0a0a;font-size:12.5px;font-weight:500;letter-spacing:.14em;padding:0 18px}
  :is(.ft-footer,footer) .ft-news-feld button:hover,:is(.ft-footer,footer) .ft-news-feld button:focus-visible{background:#cbab82;color:#0a0a0a}
  :is(.ft-footer,footer) .ft-news-klein{font-size:12px;text-align:left}
  :is(.ft-footer,footer) .ft-news-status{text-align:left}
}
