/* ============================================
   Piraten-Base Styles - seohamburg.de
   Gemeinsame Tokens und Basis-Komponenten für
   Startseite + Unterseiten.
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #F2E5C4;
  --bg-2:       #E8D9AE;
  --bg-card:    #FBF3DB;
  --dark:       #3D2818;
  --dark-2:     #503420;
  --dark-3:     #614028;
  --accent:     #A32036;
  --accent-dk:  #7A182A;
  --gold:       #B08D2F;
  --gold-lt:    #D4B054;
  --sea:        #1E3A5F;
  --rum:        #7A3319;
  --text:       #2A1810;
  --text-mid:   #4A2E1F;
  --text-light: #7A5A3A;
  --serif:      'Fraunces', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --display:    'Pirata One', 'IM Fell English SC', Georgia, serif;
  --map:        'IM Fell English SC', 'Fraunces', Georgia, serif;
  --r:          8px;
  --t:          .22s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { line-height: 1.15; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; top: -100%; left: 0; background: var(--gold-lt); color: var(--dark); padding: 12px 24px; font-weight: 600; z-index: 200; }
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-lt); outline-offset: 2px; }

.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; font-family: var(--sans); }

.btn { display: inline-block; padding: 14px 30px; border-radius: var(--r); font-weight: 600; font-size: 15px; letter-spacing: .01em; transition: var(--t); border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--dark); border-color: rgba(42,24,16,.25); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── NAV ────────────────────────────────── */
.nav { padding: 20px 0; background: var(--dark); border-bottom: 1px solid rgba(212,176,84,.12); position: sticky; top: 0; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-logo { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--gold-lt); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo em { font-style: normal; color: var(--accent); }
.nav-logo .skull-inline { color: var(--gold-lt); flex-shrink: 0; filter: drop-shadow(0 2px 0 rgba(0,0,0,.4)); }
.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-links a { font-size: 14px; color: rgba(212,176,84,.75); font-weight: 500; transition: color var(--t); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-lt); }
.nav-links a.active { text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gold-lt); margin: 4px 0; transition: var(--t); }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark); padding: 20px 24px; gap: 16px; border-bottom: 2px solid var(--accent);
    box-shadow: 0 12px 24px rgba(0,0,0,.3);
  }
  .nav.is-open .nav-links a { color: var(--gold-lt); font-size: 16px; }
  .nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ── FOOTER ──────────────────────────────── */
.footer { background: #2A1810; padding: 40px 0 32px; border-top: 3px solid var(--accent); color: rgba(212,176,84,.55); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--gold-lt); display: inline-flex; align-items: center; gap: 8px; letter-spacing: .02em; }
.footer-logo em { font-style: normal; color: var(--accent); }
.footer-logo svg { color: var(--gold-lt); }
.footer-links { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: #fff; transition: color var(--t); }
.footer-links a:hover { color: var(--gold-lt); }
.footer-copy { font-size: 12px; color: rgba(212,176,84,.4); }

/* ── HERO (Unterseiten) ─────────────────── */
.subhero { background: var(--dark); color: var(--gold-lt); padding: calc(96px + 2em) 0 80px; position: relative; overflow: hidden; }
.subhero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(212,176,84,.08) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; opacity: .5; }
.subhero-body { position: relative; z-index: 2; max-width: 800px; }
.subhero .tag { color: var(--gold-lt); opacity: .8; }
.subhero .breadcrumb { font-size: 13px; color: rgba(212,176,84,.55); margin-bottom: 18px; }
.subhero .breadcrumb a { color: rgba(212,176,84,.65); text-decoration: none; transition: color var(--t); }
.subhero .breadcrumb a:hover { color: var(--gold-lt); }
.subhero h1 { font-family: var(--display); font-size: clamp(36px, 5.5vw, 62px); font-weight: 400; line-height: 1.08; letter-spacing: .005em; margin-bottom: 22px; color: var(--gold-lt); text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 6px 24px rgba(0,0,0,.4); }
.subhero h1 em { font-style: italic; color: var(--accent); font-family: var(--map); }
.subhero-sub { font-size: 18px; line-height: 1.65; color: rgba(244,240,225,.85); margin-bottom: 26px; max-width: 640px; }
.subhero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.subhero-actions .btn-ghost { color: var(--gold-lt); border-color: rgba(212,176,84,.35); }
.subhero-actions .btn-ghost:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.subhero-ad { margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(212,176,84,.14); max-width: 820px; min-height: 118px; }
.subhero-ad ins.adsbygoogle { max-width: 100%; }
@media (max-width: 860px) { .subhero-ad { display: none; } }

/* ── Illustrationen (Piraten-Kupferstiche) ── */
.page-illustration { margin: 0 auto; text-align: center; padding: 40px 24px 0; max-width: 900px; }
.page-illustration img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.18), 0 4px 12px rgba(0,0,0,.08); border: 1px solid rgba(122,58,25,.15); display: block; margin: 0 auto; }
.page-illustration figcaption { margin-top: 14px; font-family: var(--map); font-size: 15px; color: var(--text-mid); font-style: italic; line-height: 1.5; }
.inline-illustration { margin: 32px auto; text-align: center; max-width: 720px; }
.inline-illustration img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 14px 40px rgba(0,0,0,.14); border: 1px solid rgba(122,58,25,.15); display: block; margin: 0 auto; }
.inline-illustration figcaption { margin-top: 12px; font-family: var(--map); font-size: 14px; color: var(--text-mid); font-style: italic; line-height: 1.5; }

/* ── Content-Sektionen ─────────────────── */
.sec { padding: 80px 0; }
.sec-alt { background: var(--bg-2); }
.sec-dark { background: var(--dark-2); color: rgba(244,240,225,.9); }
.sec-dark h2, .sec-dark h3 { color: var(--gold-lt); }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head h2 { font-family: var(--display); font-size: clamp(28px, 3.8vw, 46px); font-weight: 400; letter-spacing: .01em; line-height: 1.15; margin-bottom: 14px; color: var(--dark); }
.sec-alt .sec-head h2, .sec .sec-head h2 { color: var(--dark); }
.sec-dark .sec-head h2 { color: var(--gold-lt); }
.sec-head p { font-size: 17px; color: var(--text-mid); max-width: 700px; margin: 0 auto; }
.sec-dark .sec-head p { color: rgba(244,240,225,.75); }

.prose { max-width: 780px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--text-mid); }
.prose h2 { font-family: var(--display); font-size: clamp(26px, 3.2vw, 38px); font-weight: 400; letter-spacing: .01em; margin: 40px 0 16px; color: var(--dark); }
.prose h3 { font-family: var(--map); font-size: 22px; font-weight: 400; letter-spacing: .01em; margin: 28px 0 12px; color: var(--dark); }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 8px 0 20px 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--dark); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--accent-dk); }

/* ── Feature-Grid ──────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.feat-card { background: var(--bg-card); padding: 28px 24px; border-radius: var(--r); border: 1px solid rgba(42,24,16,.08); transition: var(--t); position: relative; overflow: hidden; }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.feat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.06); }
.feat-card:hover::before { transform: scaleX(1); }
.feat-card h3 { font-family: var(--map); font-size: 20px; margin-bottom: 10px; color: var(--dark); font-weight: 400; }
.feat-card p { font-size: 15px; line-height: 1.65; color: var(--text-mid); }
.feat-num { font-family: var(--display); font-size: 44px; color: rgba(163,32,54,.18); line-height: 1; margin-bottom: 12px; }
@media (max-width: 800px) { .feat-grid { grid-template-columns: 1fr; } }

/* ── FAQ (details/summary) ──────────────── */
.faq-list { max-width: 780px; margin: 32px auto 0; }
.faq-item { background: var(--bg-card); border: 1px solid rgba(42,24,16,.08); border-radius: var(--r); margin-bottom: 12px; padding: 4px 22px; transition: var(--t); }
.faq-item[open] { border-color: rgba(163,32,54,.25); box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.faq-item summary { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--dark); padding: 16px 0; cursor: pointer; list-style: none; position: relative; padding-right: 32px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 26px; color: var(--accent); transition: transform var(--t); }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { color: var(--text-mid); padding: 0 0 18px; font-size: 16px; line-height: 1.7; }

/* ── Preis-Karte ────────────────────────── */
.price-card { background: var(--bg-card); border: 2px solid rgba(163,32,54,.2); border-radius: 12px; padding: 32px 28px; max-width: 640px; margin: 32px auto; text-align: center; position: relative; }
.price-card::before { content: '☠'; position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--bg); padding: 0 12px; font-size: 24px; color: var(--accent); }
.price-card h3 { font-family: var(--display); font-size: 26px; margin-bottom: 12px; color: var(--dark); font-weight: 400; }
.price-card .price { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.price-card .price small { font-size: 16px; color: var(--text-mid); font-weight: 400; }
.price-card p { color: var(--text-mid); font-size: 15px; line-height: 1.6; }

/* ── Cross-Links (Beute-Reviere) ────────── */
.cross-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.cross-card { background: var(--bg-card); border: 1px solid rgba(42,24,16,.08); border-radius: var(--r); padding: 22px 20px; display: block; text-decoration: none; color: var(--text); transition: var(--t); position: relative; overflow: hidden; }
.cross-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.cross-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.cross-card:hover::before { transform: scaleX(1); }
.cross-card .cross-icon { font-family: var(--display); font-size: 22px; color: var(--accent); margin-bottom: 8px; }
.cross-card h4 { font-family: var(--map); font-size: 17px; font-weight: 400; color: var(--dark); margin-bottom: 4px; }
.cross-card p { font-size: 13px; color: var(--text-mid); line-height: 1.5; }
@media (max-width: 800px) { .cross-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cross-grid { grid-template-columns: 1fr; } }

/* ── CTA-Sektion ────────────────────────── */
.cta-bottom { background: var(--dark); color: var(--gold-lt); padding: 72px 0; text-align: center; }
.cta-bottom .tag { color: var(--gold-lt); opacity: .8; }
.cta-bottom h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 44px); font-weight: 400; letter-spacing: .01em; line-height: 1.15; margin-bottom: 16px; color: var(--gold-lt); }
.cta-bottom p { max-width: 600px; margin: 0 auto 28px; color: rgba(244,240,225,.8); font-size: 17px; line-height: 1.65; }
.cta-bottom .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-bottom .btn-ghost { color: var(--gold-lt); border-color: rgba(212,176,84,.35); }
.cta-bottom .btn-ghost:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
