/* Webhafen 4.34 „Morgenlicht mit Glas“
   Liegt über hafen.css (4.32), ändert keine Farben der Marke:
   Knöpfe in Graphit und poliertem Silber, helle Perlmutt-Flächen,
   gläserne Kopfleiste, ruhigere Seitenübergänge, Schrift folgt der Geräte-Einstellung. */

:root{
  --graphit-glanz:linear-gradient(180deg,#3B414B 0%,#2A2F37 52%,#1F232A 100%);
  --silber-poliert:linear-gradient(180deg,#F1F3F6 0%,#D3D8DF 46%,#B9C0C9 54%,#DCE0E5 100%);
  --anthrazit:#1B1F25;
  --silberkante:rgba(197,203,211,.55);
  --perlmutt:linear-gradient(165deg,#EEF2F7 0%,#DCE3EC 60%,#CDD5DF 100%);
  --glas-hell:linear-gradient(170deg,rgba(240,243,247,.86),rgba(226,232,239,.66));
  --glas-kante:inset 0 1px 0 rgba(255,255,255,.9),inset 0 0 0 1px rgba(255,255,255,.35),0 0 0 1px rgba(163,171,181,.42);
  --glas-schatten:0 30px 60px -36px rgba(14,30,60,.45);
}

/* Schrift folgt der Geräte-Einstellung (mit <meta name="text-scale">) */
body{font-size:1.0625rem}
.lead{font-size:clamp(1.125rem,1.5vw,1.3125rem)}

/* ---------- Knöpfe ---------- */
.btn{transition:transform .35s var(--ease),box-shadow .35s,background .3s,color .3s}
.btn::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.38) 48%,transparent 62%);translate:-120% 0;transition:translate .9s var(--ease)}
.btn:hover::before{translate:120% 0}
.btn:hover{transform:translateY(-1px)}
/* auf hellem Grund: Graphit mit Silberkante */
.btn-blau{background:var(--graphit-glanz);color:#EEF0F3;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 -1px 0 rgba(0,0,0,.35),0 0 0 1px rgba(14,14,16,.55),0 10px 22px -12px rgba(14,14,16,.7)}
.top.dunkel:not(.fest) .btn-blau,html.night .btn-blau{box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 0 1px var(--silberkante)}
/* auf dunklem Grund: poliertes Silber */
:is(.hafen,.flotte,.anleger,.fuss,.kopf,.menu,.bs-ergebnis,.top-paket) .btn-blau,.btn-hell{background:var(--silber-poliert);color:var(--anthrazit);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 -1px 0 rgba(90,99,112,.35),0 0 0 1px rgba(255,255,255,.25),0 12px 26px -14px rgba(0,0,0,.8)}
.btn-rand{box-shadow:inset 0 0 0 1px var(--silberkante),inset 0 1px 0 rgba(255,255,255,.12)}
:is(.hafen,.kopf) .btn-rand{color:#E4E8ED}
.platz .pf{box-shadow:inset 0 0 0 1px rgba(43,48,56,.28),inset 0 1px 0 rgba(255,255,255,.6);background:linear-gradient(180deg,#EEF1F5,#D4DAE2);color:var(--tinte)}
.platz a:hover .pf{background:var(--graphit-glanz);color:#EEF0F3}
html.night .platz .pf{background:linear-gradient(180deg,#24364F,#14243A);color:#E9EDF3;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 1px rgba(197,203,211,.25)}
html.night .platz a:hover .pf{background:var(--silber-poliert);color:var(--anthrazit)}
.aktion a:last-child{background:var(--silber-poliert);color:var(--anthrazit);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 -1px 0 rgba(90,99,112,.35)}

/* ---------- Gläserne Kopfleiste ---------- */
.top{inset:12px 0 auto}
.top .wrap{max-width:calc(var(--max) + 40px);margin:0 auto;height:64px;border-radius:999px;padding:0 10px 0 22px;
  background:rgba(236,240,246,.06);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -1px 0 rgba(255,255,255,.05),0 0 0 1px rgba(197,203,211,.22),0 18px 40px -24px rgba(0,0,0,.6);
  transition:background .4s,box-shadow .4s}
.top.fest{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
.top.fest .wrap{background:rgba(236,240,246,.72);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(163,171,181,.45),0 18px 40px -24px rgba(14,30,60,.45)}
html.night .top.fest .wrap{background:rgba(14,33,56,.62);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 0 1px rgba(197,203,211,.2),0 18px 40px -24px rgba(0,0,0,.7)}
@media (max-width:1020px){.top{inset:8px 0 auto}.top .wrap{height:56px;margin:0 10px;width:auto;padding:0 6px 0 16px}}
.aktion{background:rgba(7,18,32,.62);-webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 0 0 1px rgba(197,203,211,.2),0 18px 40px -12px rgba(0,0,0,.5)}

/* ---------- Morgenlicht im Startbild ---------- */
.hafen::after{background:radial-gradient(70% 55% at 62% 46%,rgba(11,74,160,.5),transparent 70%),radial-gradient(48% 22% at 66% 58%,rgba(226,232,240,.34),transparent 72%),radial-gradient(90% 40% at 60% 100%,rgba(140,170,215,.32),transparent 75%)}
.kopf::after{background:radial-gradient(60% 80% at 75% 30%,rgba(11,74,160,.45),transparent 70%),radial-gradient(50% 30% at 72% 75%,rgba(226,232,240,.18),transparent 72%)}
.hafen h1 .vers,.kopf h1 .vers{color:#E3E8EE}
.hafen .leiste{border-top-color:rgba(214,220,228,.32)}
/* Zeile „Webdesign Haren (Ems) …“ bricht am Handy nicht mehr in zwei Spalten */
.marke.hafen-ort{display:block}
.marke.hafen-ort::before{display:inline-block;vertical-align:middle;margin-right:12px}

/* ---------- Helle Flächen (nur im Tagmodus) ---------- */
html:not(.night) .stimme{background:var(--glas-hell);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:0;box-shadow:var(--glas-kante),var(--glas-schatten)}
html.night .stimme{background:linear-gradient(160deg,rgba(214,222,232,.09),rgba(214,222,232,.03));border:0;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 0 1px rgba(197,203,211,.18)}

/* Drei Gründe als Glas-Kacheln, die erste in Graphit */
.gruende{border-top:0;gap:16px}
.grund,.grund+.grund{padding:30px 30px 22px;border:0;border-radius:22px;background:var(--glas-hell);box-shadow:var(--glas-kante)}
.grund:first-child{background:var(--graphit-glanz);color:#EEF0F3;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 0 1px rgba(14,14,16,.5),0 24px 48px -30px rgba(14,14,16,.7)}
.grund:first-child p{color:#B9C0C9}
html.night .grund:not(:first-child){background:linear-gradient(160deg,rgba(214,222,232,.09),rgba(214,222,232,.03));box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 0 0 1px rgba(197,203,211,.18)}
@media (max-width:860px){.gruende{gap:12px}.grund,.grund+.grund{padding:24px 22px 16px;border:0}}

/* Bestellsystem-Karte: helles Perlmutt-Glas im dunklen Flotten-Bereich */
html:not(.night) .flaggschiff{background:var(--perlmutt)!important;color:var(--tinte);box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 0 0 1px rgba(197,203,211,.6),0 40px 80px -40px rgba(0,0,0,.8)!important}
html:not(.night) .flaggschiff .fs-text h3,html:not(.night) .flaggschiff .fs-weg b,html:not(.night) .flaggschiff .fs-knoepfe .lnk{color:var(--tinte)}
html:not(.night) .flaggschiff .art,html:not(.night) .flaggschiff .fs-was,html:not(.night) .flaggschiff .fs-weg li{color:#4A515C}
html:not(.night) .flaggschiff .fs-weg li{border-color:rgba(43,48,56,.2)}
html:not(.night) .flaggschiff .fs-weg li::before{color:var(--blau)}
html:not(.night) .flaggschiff .etikett.app{background:rgba(11,74,160,.1);color:var(--blau)}
html:not(.night) .flaggschiff .fs-tablet,html:not(.night) .flaggschiff .fs-handy{box-shadow:0 0 0 1px rgba(14,14,16,.2),0 30px 60px -28px rgba(14,30,60,.55)}
html:not(.night) .flotte .flaggschiff .btn-blau{background:var(--graphit-glanz);color:#EEF0F3;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 0 1px rgba(14,14,16,.55),0 10px 22px -12px rgba(14,14,16,.7)}
html.night .flaggschiff{background:linear-gradient(160deg,rgba(214,222,232,.12),rgba(214,222,232,.04))!important;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:inset 0 1px 0 rgba(255,255,255,.24),inset 0 0 0 1px rgba(197,203,211,.2),0 40px 80px -40px rgba(0,0,0,.9)!important}

/* Website-Check-Kasten: Silberkante, Eingabe als Glas */
.lot{box-shadow:inset 0 1px 0 rgba(255,255,255,.28),0 0 0 1px rgba(197,203,211,.5),0 40px 80px -40px rgba(11,74,160,.6)}
.lot form{background:rgba(236,240,246,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 0 0 0 1px rgba(255,255,255,.2)}

/* ---------- Seitenübergänge: Kopfleiste und Handyleiste bleiben stehen,
   der Inhalt läuft sanft ein ---------- */
.top{view-transition-name:kopfleiste}
.aktion{view-transition-name:schnellleiste}
::view-transition-group(kopfleiste),::view-transition-group(schnellleiste){animation-duration:.4s}
::view-transition-old(root){animation:.3s var(--ease) both vt-licht-aus}
::view-transition-new(root){animation:.55s var(--ease) both vt-licht-ein}
@keyframes vt-licht-aus{to{opacity:0;transform:translateY(-10px)}}
@keyframes vt-licht-ein{from{opacity:0;transform:translateY(16px)}}
@media (prefers-reduced-motion:reduce){
  .btn::before{display:none}
  .btn:hover{transform:none}
  ::view-transition-old(root),::view-transition-new(root),::view-transition-group(*){animation:none!important}
}

/* ---------- Keine Pillen: Knöpfe und Bedienelemente mit kleinen, präzisen Ecken ---------- */
.btn{border-radius:10px}
.top .btn{border-radius:9px}
.top .wrap{border-radius:18px}
.nav a{border-radius:8px}
.rund,.reede-steuer button{border-radius:12px}
.platz .pf{border-radius:12px}
.etikett,.paket .flagge,.vergleich .tag{border-radius:6px}
.chip,.chips li,.chips a{border-radius:8px}
.lot form{border-radius:18px}.check-reihe{border-radius:16px}
.lot form .btn,.check-reihe .btn{border-radius:8px}
.google-zeile a,.anleger .pause,.einlauf .skip-intro{border-radius:10px}
@media (max-width:1020px){.top .wrap{border-radius:16px}}
@media (max-width:860px){.lot form{border-radius:16px}}

/* Wie bei Apple: verschachtelte Formen sind konzentrisch (innen = außen minus Abstand),
   und wo der Browser es kann, werden die Ecken „kontinuierlich“ (Squircle) statt kreisrund. */
@supports (corner-shape:squircle){
  .btn{corner-shape:squircle;border-radius:18px}
  .top .btn{border-radius:16px}
  .top .wrap{corner-shape:squircle;border-radius:30px}
  .rund,.platz .pf,.reede-steuer button{corner-shape:squircle;border-radius:20px}
  .lot form{corner-shape:squircle;border-radius:30px}
  .check-reihe{corner-shape:squircle;border-radius:26px}
  .lot form .btn,.check-reihe .btn{border-radius:14px}
  .chip,.chips li,.chips a,.nav a{corner-shape:squircle;border-radius:14px}
  .etikett,.paket .flagge,.vergleich .tag{corner-shape:squircle;border-radius:10px}
  .grund,.grund+.grund,.stimme,.flaggschiff,.lot{corner-shape:squircle}
  .aktion{corner-shape:squircle;border-radius:30px}.aktion a{corner-shape:squircle;border-radius:22px}
  @media (max-width:1020px){.top .wrap{border-radius:28px}}
}

/* ---------- 4.34.1: Siegel „0 % Provision“ am Bestellsystem ---------- */
.null-siegel{position:absolute;z-index:3;left:clamp(-18px,-1.5vw,-8px);top:clamp(-22px,-2vw,-10px);display:grid;justify-items:center;gap:2px;
  padding:clamp(12px,1.4vw,18px) clamp(16px,1.8vw,24px) clamp(10px,1.2vw,14px);border-radius:16px;rotate:-5deg;
  background:var(--silber-poliert);color:var(--anthrazit);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(90,99,112,.35),0 0 0 1px rgba(255,255,255,.3),0 24px 44px -18px rgba(0,0,0,.75)}
.null-siegel b{font-stretch:125%;font-weight:760;letter-spacing:-.04em;line-height:.9;font-size:clamp(40px,4.6vw,68px)}
.null-siegel span{font-size:clamp(12px,1vw,15px);font-weight:650;letter-spacing:.06em;text-transform:uppercase}
@supports (corner-shape:squircle){.null-siegel{corner-shape:squircle;border-radius:28px}}
.bs-geraete .null-siegel{left:auto;right:clamp(-10px,-1vw,0px);top:clamp(-30px,-2.4vw,-14px);rotate:5deg}
@media (max-width:760px){.null-siegel{left:-4px;top:-14px}.bs-geraete .null-siegel{right:-2px;top:-18px}}
@media (prefers-reduced-motion:no-preference){.null-siegel{transition:rotate .5s var(--ease)}.null-siegel:hover{rotate:0deg}}

/* 4.35: sechs Menüpunkte (Konfigurator) passen auch knapp über dem Handy-Menü */
@media (min-width:1021px) and (max-width:1140px){.nav{gap:0}.nav a{padding:9px 8px;font-size:14px}}
@media (min-width:1021px) and (max-width:1080px){.nav a{padding:9px 6px;font-size:13.5px}.top .btn{padding-left:14px;padding-right:14px}}
