/* ==========================================================================
   gasthof-storchennest.de — Nordic Calm preset
   Display: Fraunces 600 / Body: Inter Tight 400/500 / Mono: IBM Plex Mono 400
   ========================================================================== */

:root {
  --page: #F7F7F5;
  --panel: #FFFFFF;
  --ink: #1C1C1A;
  --sage: #6E8B74;
  --clay: #B4573E;
  --clay-dark: #954934;
  --hairline: #DEDEDA;
  --grey: #55564F;
  --radius: 2px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', -apple-system, Segoe UI, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body { margin: 0; background: var(--page); color: var(--grey); font-family: var(--font-body); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: var(--clay); }
.container { max-width: 1180px; margin-inline: auto; padding-inline: 1.5rem; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 0.6em; font-optical-sizing: auto; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p { margin: 0 0 1.1em; max-width: 68ch; }
.mono { font-family: var(--font-mono); }

/* Header */
.site-header { background: var(--page); border-bottom: 1px solid var(--hairline); position: relative; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.brand-name .accent { color: var(--sage); }

.nav-toggle { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
.nav-btn { display: none; align-items: center; gap: 0.5rem; background: var(--ink); color: #fff; border: none; padding: 0.6rem 0.9rem; font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; }
.nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--clay); outline-offset: 2px; }
.hamburger { position: relative; width: 18px; height: 2px; background: #fff; }
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; }
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.nav-btn .label-close { display: none; }
.nav-toggle:checked ~ .nav-btn .label-open { display: none; }
.nav-toggle:checked ~ .nav-btn .label-close { display: inline; }

.site-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--grey); font-size: 0.92rem; padding: 0.4rem 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); border-bottom-color: var(--clay); }

@media (max-width: 900px) {
  .nav-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--page); border-bottom: 1px solid var(--hairline); }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.5rem 1rem; }
  .site-nav a { display: flex; align-items: center; padding: 0.75rem 0; min-height: 44px; border-bottom: 1px solid var(--hairline); }
}

/* Hero */
.hero { padding-block: 1.6rem 0.8rem; }
@media (max-width: 700px) { .hero { padding-block: 1rem 0.6rem; } }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.4rem; align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { text-align: left; }
.hero-lede { font-size: 1.08rem; max-width: 62ch; }

.hero-more { margin: 0 0 1rem; max-width: 62ch; }
.hero-more summary { cursor: pointer; font-size: 0.85rem; color: var(--clay); font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px; border-bottom: 1px solid var(--clay); }
.hero-more summary::-webkit-details-marker { display: none; }
.hero-more summary::after { content: "+"; font-size: 1rem; }
.hero-more[open] summary::after { content: "\2212"; }
.hero-more p { margin-top: 0.7rem; font-size: 0.95rem; }

.byline-row { display: flex; align-items: center; gap: 1rem; margin-top: 0.8rem; padding: 0.6rem 0; border-top: 1px solid var(--hairline); max-width: 560px; }
.byline-row img { width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.byline-text { line-height: 1.25; }
.byline-name { font-weight: 600; color: var(--ink); white-space: nowrap; }
.byline-role-long { display: inline; font-size: 0.85rem; }
.byline-role-short { display: none; font-size: 0.85rem; }
.byline-stats { margin-left: auto; display: flex; gap: 1rem; padding-left: 1rem; border-left: 1px solid var(--hairline); font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.byline-stats strong { display: block; color: var(--clay); font-family: var(--font-display); font-size: 1rem; }

@media (max-width: 700px) {
  .byline-row { gap: 0.6rem; padding: 0.5rem 0; }
  .byline-row img { width: 40px; height: 40px; }
  .byline-role-long { display: none; }
  .byline-role-short { display: inline; }
  .byline-stats { gap: 0.6rem; padding-left: 0.6rem; font-size: 0.6rem; }
  .byline-stats strong { font-size: 0.85rem; }
}
@media (max-width: 360px) { .byline-row { gap: 0.45rem; } .byline-name { font-size: 0.9rem; } .byline-stats { gap: 0.4rem; } }

/* Editor's choice */
.editor-pick { position: relative; border: 1px solid var(--hairline); background: var(--panel); padding: 1.2rem; }
@media (max-width: 900px) { .editor-pick { display: none; } }
.editor-pick-kicker { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sage); display: block; margin-bottom: 0.6rem; }
.editor-pick-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.editor-pick-brand img { width: 40px; height: 40px; object-fit: contain; }
.editor-pick-brand strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.editor-pick-metric { font-family: var(--font-mono); font-size: 0.85rem; color: var(--grey); margin-bottom: 0.7rem; }
.editor-pick-metric strong { color: var(--clay); }
.editor-pick-offer { border-left: 3px solid var(--sage); padding: 0.6rem 0 0.6rem 0.8rem; font-size: 0.92rem; margin-bottom: 0.9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--clay); color: #fff; text-decoration: none; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; padding: 0.72rem 1.1rem; border: none; border-radius: var(--radius); cursor: pointer; min-height: 44px; }
.btn:hover, .btn:focus-visible { background: var(--clay-dark); }
.btn.full { width: 100%; }

/* Ranked list — single-column bonus cards */
.ranked-section { padding-block: 0.6rem 2rem; }
.ranked-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1.4rem; }

.op-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 1.5rem 1.2rem 1.2rem;
}
.op-card.is-top { border: 2px solid var(--clay); }

.op-topbadge {
  position: absolute;
  top: -14px; right: 16px;
  background: var(--clay);
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.op-head { display: flex; align-items: center; gap: 0.9rem; margin-top: 0.3rem; }
.op-mark { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.op-mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.op-id { min-width: 0; }
.op-name { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.op-sub { display: block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--sage); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.15rem; }

.op-bonus { margin-top: 1.1rem; background: var(--page); border: 1px solid var(--hairline); border-radius: 8px; padding: 1rem 1.1rem; }
.op-bonus-label { display: block; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); margin-bottom: 0.35rem; }
.op-bonus-value { display: block; font-size: 1.65rem; font-weight: 700; color: var(--clay-dark); line-height: 1.2; font-family: var(--font-display); }
.op-terms { display: block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--grey); }

.op-cta { margin-top: 1.1rem; }
.op-cta .btn { width: 100%; border-radius: 999px; padding: 1rem 1.2rem; font-size: 1rem; }

@media (max-width: 700px) {
  .op-card { padding: 1.3rem 1rem 1rem; }
  .op-mark { width: 42px; height: 42px; }
  .op-name { font-size: 1.1rem; }
  .op-bonus-value { font-size: 1.4rem; }
}

.compliance-line { font-size: 0.82rem; color: var(--grey); margin-top: 1.4rem; max-width: none; }
.rank-method-link { text-decoration: underline; color: var(--ink); }

/* Comparison table */
.compare-section { padding-block: 1rem 2rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--hairline); }
table.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--panel); }
.compare-table th, .compare-table td { padding: 0.75rem 0.9rem; text-align: left; border-bottom: 1px solid var(--hairline); font-size: 0.88rem; }
.compare-table thead th { background: var(--page); color: var(--ink); font-family: var(--font-mono); text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.05em; border-bottom: 1px solid var(--ink); }
.table-note { font-size: 0.78rem; color: var(--grey); margin-top: 0.7rem; max-width: none; }

/* Method */
.method-section { padding-block: 1.6rem 2rem; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.5rem; justify-content: center; }
@media (max-width: 980px) and (min-width: 561px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .method-grid { grid-template-columns: 1fr; } }
.method-card { background: var(--panel); border-top: 2px solid var(--sage); padding: 1.1rem 0; }
.method-card .num { font-family: var(--font-mono); color: var(--clay); font-size: 0.78rem; }
.method-more { text-align: center; margin-top: 1.5rem; }

/* Article */
.article-section { padding-block: 1.8rem 2rem; }
.article-head { margin-inline: 0; max-width: 100%; }
.article-grid { display: grid; grid-template-columns: 1fr; gap: 2.2rem; }
@media (min-width: 1100px) { .article-grid { grid-template-columns: minmax(0, 1fr) 260px; } }
.article-toc { display: none; }
@media (min-width: 1100px) { .article-toc { display: block; position: sticky; top: 1.5rem; align-self: start; padding: 1rem 0 1rem 1.2rem; border-left: 1px solid var(--hairline); } }
.article-toc h3 { font-size: 1rem; margin-bottom: 0.7rem; }
.article-toc ol { counter-reset: toc; list-style: none; margin: 0; padding: 0; font-size: 0.85rem; }
.article-toc li { counter-increment: toc; margin-bottom: 0.5rem; }
.article-toc li::before { content: counter(toc) ". "; font-family: var(--font-mono); color: var(--clay); }
.article-toc a { text-decoration: none; color: var(--grey); }
.article-toc a:hover { color: var(--ink); }
.article-body h3 { margin-top: 1.9rem; }
.byline-mini { font-family: var(--font-mono); font-size: 0.8rem; color: var(--grey); margin-bottom: 1.3rem; }

/* FAQ */
.faq-section { padding-block: 1.8rem 2rem; }
.faq-list { max-width: 780px; margin-top: 1.4rem; }
details.faq-item { border-bottom: 1px solid var(--hairline); background: var(--panel); }
details.faq-item summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; color: var(--clay); font-size: 1.3rem; flex-shrink: 0; }
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item .faq-answer { padding: 0 0 1.1rem; font-size: 0.95rem; }

.section-kicker { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sage); display: block; margin-bottom: 0.5rem; }
section.tinted { background: var(--panel); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

/* Simple pages */
.page-hero { padding-block: 2.2rem 1rem; }
.page-body { padding-block: 0.5rem 3rem; }
.page-body h2 { margin-top: 1.7rem; }
.page-body ul, .page-body ol { max-width: 68ch; }

/* Footer */
.site-footer { background: var(--ink); color: #D8D6D0; padding-block: 2.6rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.site-footer h4 { font-family: var(--font-display); color: #fff; font-size: 1.05rem; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #D8D6D0; text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { color: var(--sage); text-decoration: underline; }
.footer-note { font-size: 0.8rem; color: #9C9A93; margin-top: 1.7rem; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.3rem; max-width: none; }

/* Back to top */
.to-top { position: fixed; right: 16px; bottom: 16px; width: 42px; height: 42px; background: var(--ink); border: none; border-radius: 50%; cursor: pointer; z-index: 40; opacity: 0; visibility: hidden; }
.to-top .arrow { display: block; width: 10px; height: 10px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(45deg); margin: 15px auto 0; }
@supports (animation-timeline: scroll()) { .to-top { animation: to-top-reveal linear both; animation-timeline: scroll(root); animation-range: 300px 700px; } }
@keyframes to-top-reveal { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
.to-top.is-visible { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .to-top { animation: none !important; } }

.visually-hidden { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
