/* Navigation, Tipps & Checklisten (Kacheln, Anleitungsseite, Newsletter-Hinweis) */

/* ----- Kopfzeile: Navigation ----- */
.head-nav{display:flex;align-items:center;gap:6px 10px;flex-wrap:nowrap;margin-left:auto}
.head-nav>a:not(.yt-link){color:var(--ink);text-decoration:none;font-weight:600;font-size:.95rem;padding:8px 14px;border-radius:999px;white-space:nowrap}
.head-nav>a:not(.yt-link):hover{background:#f2f2f2;color:var(--ink)}
.head-nav>a.active{background:var(--brand-soft);color:var(--brand-deep)}
@media (max-width:640px){
  .head-row{gap:6px}
  .brand span{display:none}
  .head-nav>a:not(.yt-link){padding:8px 10px;font-size:.9rem}
  .yt-link span{display:none}
  .yt-link{padding:8px 10px}
}

/* ----- Seiten-Kopf ----- */
.page-head{margin-bottom:22px}
.page-head .lead{margin-left:0;margin-right:0}
.crumb{margin:0 0 14px;font-size:.92rem}
.crumb ol{display:flex;flex-wrap:wrap;gap:2px 0;list-style:none;margin:0;padding:0}
.crumb li{color:var(--muted)}
.crumb li+li::before{content:"\203A";margin:0 8px;color:#9aa5ae}
.crumb a{text-decoration:none;font-weight:600}

/* ----- Kacheln im Stil von Video-Karten ----- */
.tiles{display:grid;gap:18px;grid-template-columns:1fr;margin-bottom:26px}
.tile{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:0 1px 3px rgba(15,63,102,.06)}
.tile:hover{border-color:#9dbdd6;color:var(--ink);box-shadow:0 4px 14px rgba(15,63,102,.12)}
.thumb{position:relative;aspect-ratio:16/8;display:grid;place-items:center;color:#fff}
.thumb .g-ico{width:56px;height:56px}
.thumb.t1{background:linear-gradient(135deg,#175f96,#217bbf)}
.thumb.t2{background:linear-gradient(135deg,#217bbf,#4a9ad6)}
.thumb.t3{background:linear-gradient(135deg,#0f3f66,#217bbf)}
.thumb.t4{background:linear-gradient(135deg,#e0a200,#fec223);color:#0f0f0f}
.thumb.t5{background:linear-gradient(135deg,#4a9ad6,#175f96)}
.thumb.t6{background:linear-gradient(135deg,#7d8790,#a9b0b6)}
.dur{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.82);color:#fff;font-size:.78rem;font-weight:700;padding:2px 8px;border-radius:6px}
.tile-body{padding:14px 16px 16px}
.tile-body h2{font-size:1.08rem;margin:0 0 .35em}
.tile-body p{margin:0;color:var(--muted);font-size:.95rem}
@media (min-width:600px){.tiles{grid-template-columns:repeat(2,1fr)}}
@media (min-width:900px){
  main:has(.tiles){max-width:1000px}
  .tiles{grid-template-columns:repeat(3,1fr)}
  .tiles-small .thumb{aspect-ratio:16/6}
}

/* ----- Anleitungsseite ----- */
.guide>header{margin-bottom:18px}
.guide h1{margin-bottom:.35em}
.guide .lead{margin-left:0;margin-right:0}
.g-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:14px 0}
.btn-dl::before{content:"";display:inline-block;width:18px;height:18px;margin:-3px 10px -3px 0;
  background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 11l5 5 5-5M5 20h14'/%3E%3C/svg%3E")}
.paper{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 20px;box-shadow:0 1px 3px rgba(15,63,102,.06)}
.g-sec{margin-bottom:22px}
.g-sec:last-of-type{margin-bottom:6px}
.g-sec h2{font-size:1.05rem;margin:0 0 .6em;padding-left:10px;border-left:4px solid var(--sun)}
.g-checks{list-style:none;margin:0;padding:0}
.g-checks li{display:flex;gap:10px;align-items:flex-start;padding:4px 0}
.g-checks .cb{flex:none;width:16px;height:16px;margin-top:4px;border:2px solid var(--brand-dark);border-radius:4px;background:#fff}
.g-tablewrap{overflow-x:auto}
.g-table{border-collapse:collapse;width:100%;font-size:.95rem}
.g-table th,.g-table td{border:1px solid #cfd8de;padding:8px 10px;text-align:left;vertical-align:top}
.g-table th{background:var(--brand-soft);color:var(--brand-deep);font-size:.85rem}
.g-table td.blank{min-width:150px}
.g-defs{margin:0}
.g-defs .d{padding:6px 0;border-bottom:1px solid var(--line)}
.g-defs dt{font-weight:700}
.g-defs dd{margin:0;color:#2b3237}
.g-fill{list-style:none;margin:0;padding:0}
.g-fill li{display:flex;align-items:flex-end;gap:10px;padding:8px 0}
.g-fill .line{flex:1;min-width:60px;border-bottom:1.5px solid #8a96a0;height:1px;margin-bottom:5px}
.g-tip{background:var(--sun-soft);border-radius:10px;padding:12px 14px;margin:16px 0 0}
.g-disclaimer{margin:12px 0 0}

@media (min-width:760px){.paper.layout-cols{column-count:2;column-gap:36px}.paper.layout-cols .g-sec,.paper.layout-cols .g-defs .d{break-inside:avoid}.paper.layout-cols .g-tip{column-span:all}}

/* ----- Newsletter-Hinweis ----- */
.nl-box{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;margin:28px 0;padding:20px 22px;border-radius:var(--radius);
  background:linear-gradient(120deg,var(--brand-deep),var(--brand-dark));color:#fff;border-left:6px solid var(--sun)}
.nl-box strong{font-size:1.1rem}
.nl-box p{margin:.3em 0 0;color:#dcebf7;max-width:520px}
.nl-box .btn-primary{background:var(--sun);border-color:var(--sun);color:#0f0f0f}
.nl-box .btn-primary:hover{background:#ffd14d;border-color:#ffd14d;color:#0f0f0f}
.nl-box .btn-bell::before{filter:invert(1)}
.more h2{margin:30px 0 14px}

@media print{
  .site-header,.site-footer,.nl-box,.more,.g-actions,.crumb,.skip{display:none!important}
  body{background:#fff}
  .paper{border:0;box-shadow:none;padding:0}
}

/* ===== Rechner (Finanzierung) ===== */
.calc-note{font-size:.92rem;margin-bottom:18px}
.tabs{display:flex;flex-wrap:wrap;gap:6px;background:#e8edf1;border-radius:14px;padding:5px;margin-bottom:18px}
.tab{flex:1 1 180px;font:inherit;font-weight:600;border:0;background:transparent;border-radius:10px;padding:10px 14px;cursor:pointer;color:var(--ink)}
.tab:hover{background:#dde4ea}
.tab.on{background:#fff;color:var(--brand-deep);box-shadow:0 1px 3px rgba(0,0,0,.18)}
.calc{display:grid;gap:18px;grid-template-columns:1fr;align-items:start}
.calc[hidden],.calc-compare[hidden]{display:none}
.calc .card,.calc-compare .card{margin-bottom:0}
.calc-form fieldset{border:1px solid var(--line);border-radius:12px;padding:14px 14px 2px;margin:0 0 16px}
.calc-form legend{padding:0 8px;font-size:.95rem;color:var(--brand-deep)}
.calc-form h2{margin-top:0}
.fld{margin-bottom:16px}
.fld label{display:block;margin-bottom:5px;font-size:.95rem}
.inp{display:flex;align-items:stretch;gap:0}
.inp input[type=text]{border-top-right-radius:0;border-bottom-right-radius:0;min-width:0;text-align:right}
.inp .unit,.inp select{flex:none;display:flex;align-items:center;padding:0 12px;background:#eef2f5;border:1.5px solid #bcc7d0;border-left:0;border-radius:0 10px 10px 0;color:var(--muted);font-weight:600;min-height:48px;width:auto}
.fld>select{width:100%}
.rng{width:100%;margin:10px 0 0;accent-color:var(--brand);min-height:0;padding:0;border:0}
.aside{margin:4px 0 0;color:var(--muted);font-size:.88rem;min-height:1.3em}
.fld .hint{margin:5px 0 0;font-size:.84rem}
.err{margin:5px 0 0;color:var(--danger);font-size:.88rem;min-height:0}
.err:empty{display:none}
input[aria-invalid=true]{border-color:var(--danger)}
.calc-results{min-height:200px}
.res-empty{color:var(--muted);margin:0}
.res-main{display:flex;flex-direction:column;background:var(--brand-soft);border-radius:12px;padding:16px 18px;margin-bottom:16px;border-left:6px solid var(--sun)}
.res-label{font-size:.9rem;color:var(--muted);font-weight:600}
.res-value{font-size:2.1rem;font-weight:700;color:var(--brand-deep);line-height:1.2}
.res-value.small{font-size:1.25rem}
.res-sub{font-size:.9rem;color:var(--muted)}
.bar-wrap{margin:6px 0 16px}
.bar{display:block;width:100%;height:20px;border-radius:6px;overflow:hidden}
.bar .c1,.legend .c1{fill:#0f3f66;background:#0f3f66}.bar .c2,.legend .c2{fill:#217bbf;background:#217bbf}
.bar .c3,.legend .c3{fill:#fec223;background:#fec223}.bar .c4,.legend .c4{fill:#8a96a0;background:#8a96a0}
.legend{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 16px;font-size:.88rem}
.legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.res-grid{margin:0 0 14px}
.res-grid>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--line)}
.res-grid dt{color:var(--muted)}
.res-grid dd{margin:0;font-weight:600;text-align:right}
.res-grid .strong{background:#f3f8fc;padding-left:8px;padding-right:8px;border-radius:6px}
.res-grid .strong dt{color:var(--ink);font-weight:700}
.warn-list{margin:0 0 14px;padding:12px 14px 12px 32px;background:var(--warn-soft);border-radius:10px;font-size:.92rem}
.warn-list li{margin-bottom:4px}
.plan details{border:1px solid var(--line);border-radius:10px;margin-bottom:8px;padding:0 12px}
.plan summary{cursor:pointer;font-weight:600;padding:10px 0}
.plan table,.cmp{border-collapse:collapse;width:100%;font-size:.9rem}
.plan th,.plan td,.cmp th,.cmp td{padding:6px 8px;border-bottom:1px solid var(--line);text-align:left}
.plan th,.cmp thead th{background:#f3f8fc;font-size:.82rem;color:var(--brand-deep)}
.plan .num,.cmp .num{text-align:right;white-space:nowrap}
.table-wrap{overflow-x:auto}
.table-wrap.scroll{max-height:340px;overflow-y:auto}
.cmp tbody th{font-weight:400;color:var(--muted)}
.cmp td.best{background:#e3f3e8;color:#14532d;font-weight:700}
.res-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.calc-compare{display:grid;gap:18px}
.cmp-forms{display:grid;gap:18px;grid-template-columns:1fr}
.info-card{margin-top:22px}
@media (min-width:900px){
  .calc{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}
  .calc-results{position:sticky;top:76px}
  .cmp-forms{grid-template-columns:1fr 1fr}
}
@media print{
  .tabs,.calc-inputs,.cmp-forms,.res-actions,.calc-note,.info-card,.crumb,.page-head{display:none!important}
  .calc,.calc-compare{display:block}
  .calc-results{position:static;border:0;box-shadow:none;padding:0}
  .plan details{border:0}.plan details>*{display:block}
}

/* Linienfelder und feste Tabellenspalten (Reisetagebuch) */
.g-table.fixed{table-layout:fixed}
.g-lines .ln{display:block;height:30px;border-bottom:1.5px solid #9aa5ae}

/* ===== Packlisten-Generator ===== */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pk-form h2,.pk-h2{margin-top:0}
.pk-h2{margin:26px 0 12px}
.pk-form fieldset{border:1px solid var(--line);border-radius:12px;padding:14px 14px 6px;margin:0 0 16px}
.pk-form legend{padding:0 8px;color:var(--brand-deep)}
.pk-label{margin:10px 0 6px;font-weight:600;font-size:.92rem}
.pk-form .chips{margin-bottom:10px}
.pk-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 14px;margin-bottom:6px}
.pk-step label{display:block;font-weight:600;font-size:.92rem}
.pk-step .hint{display:block;margin:0 0 4px;font-size:.8rem;min-height:1.1em}
.stepper{display:flex}
.stepper button{flex:none;width:44px;min-height:46px;border:1.5px solid #bcc7d0;background:#f2f2f2;font:inherit;font-size:1.3rem;cursor:pointer}
.stepper button:first-child{border-radius:10px 0 0 10px}.stepper button:last-child{border-radius:0 10px 10px 0}
.stepper button:hover{background:#e4e4e4}
.stepper input{border-radius:0;text-align:center;min-width:0;border-left:0;border-right:0}
.choice.detox{border-color:var(--sun);background:var(--sun-soft)}
.choice.detox:has(input:checked){border-color:#d99a00;background:#ffe9a8}
.pk-bar{position:sticky;top:64px;z-index:4;margin-bottom:14px}
.pk-sum{font-weight:700;margin:0 0 4px}
.pk-stats{margin:0 0 10px;color:var(--muted);font-size:.92rem}
.pk-actions{display:flex;flex-wrap:wrap;gap:8px}
.pk-tipcard{background:#f3f8fc}
.pk-tipcard h3{margin:0 0 8px;font-size:1rem}
.pk-tiplist{margin:0;padding-left:1.2em;font-size:.93rem}
.pk-tiplist li{margin-bottom:4px}
.pcat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:14px;overflow:hidden}
.pcat.empty .prows{opacity:.8}
.pcat h3{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0;padding:12px 16px;background:var(--brand-soft);font-size:1.05rem;color:var(--brand-deep)}
.pcat h3 small{font-weight:600;color:var(--muted);font-size:.82rem}
.prows,.pmore-list{list-style:none;margin:0;padding:0}
.prow{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;align-items:center;padding:10px 16px;border-top:1px solid var(--line)}
.prow:first-child{border-top:0}
.pchk{display:flex;align-items:center}
.pchk input{width:22px;height:22px;accent-color:var(--brand)}
.ptxt{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0}
.pname{font-weight:600}
.pprio{font-size:.7rem;font-weight:700;border-radius:999px;padding:1px 8px}
.pm{background:#fde0de;color:#8f1d17}.ps{background:#e5f1fa;color:#0f3f66}.pn{background:#eee;color:#555}
.pnote{flex-basis:100%;color:var(--muted);font-size:.84rem}
.pqty{display:flex;align-items:center;gap:0;grid-column:2}
.pqty button{width:34px;min-height:36px;border:1.5px solid #bcc7d0;background:#f2f2f2;cursor:pointer;font:inherit}
.pqty button:first-child{border-radius:8px 0 0 8px}.pqty button:nth-of-type(2){border-radius:0 8px 8px 0}
.pqty input{width:62px;min-height:36px;padding:2px 4px;border-radius:0;text-align:center;border-left:0;border-right:0}
.punit{margin-left:8px;color:var(--muted);font-size:.85rem}
.pstat{grid-column:2;width:auto;max-width:190px;min-height:38px;padding:4px 10px}
.prm{grid-column:1;border:0;background:none;color:var(--danger);font-size:1.3rem;cursor:pointer}
.prow.off .ptxt,.prow.off .pqty,.prow.off .pstat{opacity:.4}
.prow.off .pname{text-decoration:line-through}
.prow.buy{background:#fffaf0}
.prow.buy .pstat{border-color:#d99a00;background:#fff4d1}
.print-qty{display:none}
.pmore{border-top:1px solid var(--line);padding:0 16px}
.pmore summary{cursor:pointer;padding:10px 0;font-weight:600;color:var(--brand-dark)}
.pmore-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;border-top:1px dashed var(--line)}
.pblock{color:var(--muted);font-size:.82rem}
.only-buy .prow:not(.buy),.only-buy .pmore{display:none}
.only-buy .pcat:not(:has(.prow.buy)){display:none}
.pk-custom h3{margin-top:0}
.pk-add{display:grid;grid-template-columns:1fr;gap:8px}
@media (min-width:720px){
  .pk-grid{grid-template-columns:repeat(4,1fr)}
  .pk-add{grid-template-columns:2fr 2fr 90px auto}
  .prow{grid-template-columns:auto 1fr auto auto;}
  .pqty,.pstat{grid-column:auto}
  .prm{grid-column:auto}
}
@media print{
  .pk-form,.pk-tips,.pk-custom,.no-print,.page-head,.crumb,.pk-h2,.calc-note,.nl-box{display:none!important}
  .pk-bar{position:static;border:0;box-shadow:none;padding:0}
  .pcat{border:0;break-inside:avoid;margin-bottom:8px}
  .prow.off{display:none}
  .pqty,.pstat,.pchk input{display:none}
  .pchk::before{content:"";display:inline-block;width:11px;height:11px;border:1.5px solid #333;border-radius:2px}
  .print-qty{display:inline;font-weight:600;white-space:nowrap}
  .prow{display:flex;gap:8px;align-items:baseline;padding:3px 0;border:0}
  .pchk{order:0}.print-qty{order:1}.ptxt{order:2}
  .pnote{display:none}
}

/* Startseite: Hinweis auf kostenlose Tools */
.free-tools{margin:30px 0}
.free-tools ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.free-tools li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 16px;display:flex;flex-direction:column}
.free-tools li a{font-weight:700}
.free-tools li span{color:var(--muted);font-size:.93rem}
@media (min-width:700px){.free-tools ul{grid-template-columns:repeat(3,1fr)}}
