/* Insel-Herrscher – Werbeseite */
:root {
  --pergament: #f1e4c3;
  --pergament2: #e6d3a3;
  --pergament3: #d9c08a;
  --braun: #5b3a1e;
  --tinte: #3a2614;
  --meer: #1f5f7a;
  --meer2: #2e86a8;
  --meer-tief: #123d4f;
  --rot: #a8322d;
  --rot-dunkel: #6d1d1a;
  --gold: #c99a2e;
  --gold-hell: #e6c46a;
  --kopf-h: 60px;
  --schrift: Georgia, 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 8px); }
html, body { margin: 0; overflow-x: hidden; overflow-x: clip; }
body { font-family: var(--schrift); color: var(--tinte); background: var(--pergament); font-size: 18px; line-height: 1.6; padding-top: var(--kopf-h); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--meer); }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: clamp(30px, 4.2vw, 46px); margin: 0 0 18px; color: var(--braun); }
h3 { font-size: 23px; margin: 0 0 8px; color: var(--braun); }
p { margin: 0 0 14px; }
.innen { width: min(1180px, 100% - 32px); margin-inline: auto; }
.innen.schmal, .schmal { max-width: 820px; }
.mitte { text-align: center; margin-inline: auto; }

/* Knöpfe */
.knopf { display: inline-block; font-family: inherit; font-weight: bold; text-decoration: none; color: #fff; background: var(--rot); border: 3px solid var(--rot-dunkel); border-radius: 10px; padding: 12px 24px; box-shadow: 0 5px 0 var(--rot-dunkel); transition: transform .12s, box-shadow .12s, background .12s; text-align: center; }
.knopf:hover { background: #bd3a34; transform: translateY(-2px); box-shadow: 0 7px 0 var(--rot-dunkel); }
.knopf:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--rot-dunkel); }
.knopf:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-hell); outline-offset: 3px; }
.knopf-gross { font-size: 22px; padding: 16px 32px; }
.knopf-klein { font-size: 15px; padding: 6px 14px; box-shadow: 0 3px 0 var(--rot-dunkel); border-width: 2px; }
.knopf-hell { background: transparent; border-color: var(--pergament); color: var(--pergament); box-shadow: none; }
.knopf-hell:hover { background: rgba(241, 228, 195, .12); box-shadow: none; }

/* Kopfleiste */
.kopf { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--kopf-h); display: flex; align-items: center; gap: 16px; padding: 0 16px; background: linear-gradient(#2a6f8c, var(--meer)); border-bottom: 3px solid var(--gold); color: #fff; }
.marke { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: bold; font-size: 21px; white-space: nowrap; }
.menue { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: nowrap; }
.menue a:not(.knopf) { color: var(--pergament); text-decoration: none; padding: 6px 9px; border-radius: 6px; font-size: 16px; white-space: nowrap; }
.menue a:not(.knopf):hover { background: rgba(255, 255, 255, .14); }
.menue .knopf { margin-left: 8px; }
.menue-knopf { display: none; margin-left: auto; width: 46px; height: 42px; border: 2px solid var(--pergament); border-radius: 8px; background: transparent; cursor: pointer; padding: 8px; flex-direction: column; justify-content: space-between; }
.menue-knopf span { display: block; height: 3px; background: var(--pergament); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menue-knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* Hero */
.held { position: relative; color: var(--pergament); background: radial-gradient(ellipse at 70% 30%, var(--meer2), var(--meer) 45%, var(--meer-tief) 100%); padding: 56px 0 92px; overflow: hidden; }
.held::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -320px; border-radius: 50%; border: 3px solid rgba(241, 228, 195, .1); box-shadow: 0 0 0 60px rgba(241, 228, 195, .03); }
.held-wellen { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath d='M0 30c20-14 40-14 60 0s40 14 60 0v30H0z' fill='%23f1e4c3'/%3E%3C/svg%3E") repeat-x bottom / 120px 60px; }
.held-raster { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.held h1 { margin: 0 0 8px; }
.held-logo { width: 100%; max-width: 560px; }
.slogan { font-size: clamp(22px, 2.6vw, 30px); color: var(--gold-hell); margin: 0 0 14px; }
.einleitung { font-size: 19px; max-width: 560px; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 14px; }
.held-klein { font-size: 15px; opacity: .85; }
.film { margin: 0; }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #0e2f3d; border: 6px solid var(--braun); border-radius: 14px; box-shadow: 0 0 0 3px var(--gold), 0 24px 50px rgba(0, 0, 0, .45); }
.film figcaption { text-align: center; font-size: 14px; opacity: .8; margin-top: 12px; }

/* Abschnitte */
.abschnitt { padding: 84px 0; position: relative; }
.pergament { background: var(--pergament) repeating-linear-gradient(45deg, rgba(91, 58, 30, .03) 0 6px, transparent 6px 12px); }
.holz { background: var(--pergament2) repeating-linear-gradient(90deg, rgba(91, 58, 30, .04) 0 2px, transparent 2px 46px); }
.meer { background: linear-gradient(170deg, var(--meer), var(--meer-tief)); color: var(--pergament); }
.meer h2, .meer h3 { color: var(--pergament); }
.meer.dunkel { background: linear-gradient(170deg, #173847, #0d2430); }
.vorzeile { text-transform: uppercase; letter-spacing: 3px; font-size: 14px; font-weight: bold; color: var(--rot); margin: 0 0 6px; }
.meer .vorzeile { color: var(--gold-hell); }
#inseltypen > .innen > .vorzeile, #inseltypen > .innen > h2,
#piraten .vorzeile, #piraten h2, #welten > .innen > .vorzeile, #welten > .innen > h2,
#galerie .vorzeile, #galerie h2, #faq .vorzeile, #faq h2, #seefahrt > .innen > .vorzeile, #seefahrt > .innen > h2,
#hauptinseln > .innen > .vorzeile, #hauptinseln > .innen > h2 { text-align: center; }
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.zwei.oben { align-items: start; }
.zwei.umgekehrt > :first-child { order: 2; }
.abstand { margin-top: 48px; }

.haken { list-style: none; padding: 0; margin: 18px 0 0; }
.haken li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.haken li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3.5 3.5L15 7' fill='none' stroke='%233a2614' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.haken b { color: var(--braun); }
.haken.hell b, .meer .haken b { color: var(--gold-hell); }

/* Bilder */
.bild { margin: 0; }
.bild img, .galerie img { border: 4px solid var(--braun); border-radius: 10px; box-shadow: 4px 6px 0 rgba(91, 58, 30, .25); background: #2a6f8c; }
.meer .bild img { border-color: var(--pergament); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.bild figcaption { font-size: 15px; margin-top: 10px; opacity: .85; font-style: italic; }
.bild.klein { margin-top: 22px; max-width: 520px; }
.bilder-stapel .bild.klein { margin-left: auto; margin-top: -60px; width: 62%; position: relative; }
.lupe { display: block; cursor: zoom-in; border-radius: 10px; }
.lupe img { transition: transform .25s; }
.lupe:hover img { transform: scale(1.015); }

/* Inseltypen */
.typen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.typ { background: var(--pergament); color: var(--tinte); border: 3px solid var(--braun); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); display: flex; flex-direction: column; }
.typ img { width: 100%; aspect-ratio: 720 / 434; object-fit: cover; border-bottom: 3px solid var(--braun); }
.typ > div { padding: 14px 16px 12px; }
.typ h3 { color: var(--braun); }
.typ p { font-size: 16px; margin-bottom: 6px; }
.hinweis-typ { color: var(--rot); font-style: italic; }
.typ-info { background: var(--pergament2); justify-content: center; }

/* Gebietsebenen */
.ebenen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 8px auto 40px; max-width: 900px; counter-reset: e; }
.ebenen > div { position: relative; text-align: center; padding: 14px 8px; background: var(--pergament); border: 3px solid var(--braun); margin-left: -3px; display: flex; flex-direction: column; }
.ebenen > div:first-child { border-radius: 12px 0 0 12px; margin-left: 0; }
.ebenen > div:last-child { border-radius: 0 12px 12px 0; background: var(--gold-hell); }
.ebenen b { font-size: 20px; color: var(--braun); }
.ebenen span { font-size: 15px; color: var(--meer); }

/* Piraten */
.kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.kachel { background: rgba(241, 228, 195, .07); border: 2px solid rgba(241, 228, 195, .25); border-radius: 14px; padding: 22px 20px; }
.kachel svg { width: 64px; height: 64px; margin-bottom: 10px; }
.kachel p { font-size: 16px; margin: 0; }

/* Welten */
.welten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.welt { background: var(--pergament); border: 3px solid var(--braun); border-radius: 12px; padding: 18px; box-shadow: 4px 5px 0 rgba(91, 58, 30, .25); }
.welt p { font-size: 16px; margin: 0; }
.schild { display: inline-block; font-size: 13px; font-weight: bold; color: #fff; background: var(--meer); border-radius: 20px; padding: 2px 12px; margin-bottom: 10px; }
.schild.gold { background: var(--gold); color: var(--tinte); }
.schild.rot { background: var(--rot); }

/* Handys */
.handys { display: flex; justify-content: center; gap: 26px; }
.handy { width: min(240px, 44%); border: 10px solid #2a1a0d; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, .45); background: #000; }
.handy:nth-child(2) { margin-top: 48px; }
.handy img { border-radius: 0; }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.galerie img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.hinweis-entw { text-align: center; font-style: italic; color: var(--meer); margin: 0 auto; background: rgba(201, 154, 46, .16); border-left: 4px solid var(--gold); border-radius: 6px; padding: 8px 14px; max-width: 760px; }

/* FAQ */
details { background: var(--pergament); border: 2px solid var(--braun); border-radius: 10px; margin-bottom: 12px; box-shadow: 2px 3px 0 rgba(91, 58, 30, .2); }
summary { cursor: pointer; font-weight: bold; padding: 14px 48px 14px 18px; position: relative; list-style: none; color: var(--braun); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--rot); }
details[open] summary::after { content: "–"; }
details p { padding: 0 18px 6px; margin: 0 0 10px; }

/* Aufruf */
.aufruf { text-align: center; padding: 72px 0; color: var(--pergament); background: radial-gradient(ellipse at 50% 0%, var(--meer2), var(--meer) 50%, var(--meer-tief)); }
.aufruf img { margin: 0 auto 14px; }
.aufruf h2 { color: var(--pergament); margin-bottom: 24px; }

/* Fuß */
.fuss { background: #2a1a0d; color: var(--pergament2); padding: 36px 0 28px; border-top: 4px solid var(--gold); }
.fuss-raster { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
.fuss-logo { width: 260px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fuss a { color: var(--pergament); text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss .klein { width: 100%; font-size: 14px; opacity: .7; margin: 6px 0 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 26, .9); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border: 4px solid var(--pergament); border-radius: 10px; }
.lb-zu { position: absolute; top: 12px; right: 16px; width: 48px; height: 48px; font-size: 34px; line-height: 1; border-radius: 50%; border: 2px solid var(--pergament); background: var(--braun); color: var(--pergament); cursor: pointer; }

/* Einblenden */
.zeigen { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.zeigen.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .zeigen { opacity: 1; transform: none; transition: none; }
}

/* Responsiv */
@media (max-width: 1180px) {
  .menue-knopf { display: flex; }
  .menue { display: none; position: absolute; top: var(--kopf-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--meer-tief); border-bottom: 3px solid var(--gold); padding: 8px 16px 16px; max-height: calc(100vh - var(--kopf-h)); overflow-y: auto; }
  .menue.offen { display: flex; }
  .menue a:not(.knopf) { padding: 12px 8px; border-bottom: 1px solid rgba(241, 228, 195, .15); font-size: 18px; }
  .menue .knopf { margin: 14px 0 0; }
}
@media (max-width: 980px) {
  .held-raster, .zwei { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .zwei.umgekehrt > :first-child { order: 0; }
  .typen, .kacheln, .welten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bilder-stapel .bild.klein { margin-top: 22px; width: 100%; margin-left: 0; }
  .held { padding-top: 36px; }
  .held-text { text-align: center; }
  .held-logo, .einleitung { margin-inline: auto; }
  .held-knoepfe { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .abschnitt { padding: 60px 0; }
  .typen, .kacheln, .welten, .galerie { grid-template-columns: minmax(0, 1fr); }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ebenen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .ebenen > div, .ebenen > div:first-child, .ebenen > div:last-child { border-radius: 10px; margin-left: 0; }
  .knopf-gross { font-size: 19px; padding: 14px 22px; width: 100%; }
  .held-knoepfe .knopf { width: 100%; }
  .marke span { font-size: 19px; }
  .handys { gap: 14px; }
}
