/* ==========================================================
   Angelverein Brockhagen Vennort – Stylesheet
   Farben: Seeblau, Türkis, Schilfgrün, Sand
   ========================================================== */

:root {
  --see: #0b5d7a;
  --see-dunkel: #083f54;
  --tuerkis: #17a2a0;
  --tuerkis-hell: #e3f4f3;
  --schilf: #5b9e5f;
  --sand: #f7f2e8;
  --sonne: #f2b544;
  --text: #1c2b33;
  --text-leise: #5d6e77;
  --rand: #e2e8ea;
  --weiss: #ffffff;
  --hintergrund: #fbfcfc;
  --gefahr: #c2453b;

  --radius: 18px;
  --radius-klein: 10px;
  --schatten: 0 1px 2px rgba(8, 63, 84, .05), 0 8px 24px rgba(8, 63, 84, .07);
  --schatten-hover: 0 2px 4px rgba(8, 63, 84, .06), 0 16px 36px rgba(8, 63, 84, .12);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--hintergrund);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--see); text-underline-offset: 3px; }
a:hover { color: var(--tuerkis); }

h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.015em; color: var(--see-dunkel); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.2em; }
.icon-gross { width: 48px; height: 48px; }

.leise { color: var(--text-leise); }
.klein { font-size: .9rem; }

.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tuerkis);
  margin-bottom: .5rem;
}

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rand);
}
.kopf-inhalt { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }

.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--see-dunkel); }
.marke-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--see), var(--tuerkis));
  color: var(--weiss);
}
.marke-icon .icon { width: 26px; height: 26px; }
.marke-text { display: flex; flex-direction: column; line-height: 1.15; }
.marke-text strong { font-size: 1.05rem; }
.marke-text span { font-size: .85rem; color: var(--text-leise); }
.marke:hover { color: var(--see-dunkel); }

.hauptnav { display: flex; align-items: center; gap: 4px; }
.hauptnav a {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.hauptnav a:hover { background: var(--tuerkis-hell); color: var(--see); }
.hauptnav a[aria-current="page"] { background: var(--see); color: var(--weiss); }
.hauptnav .nav-konto {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 8px;
  border: 1.5px solid var(--rand);
}
.hauptnav .nav-konto.aktiv { border-color: var(--see); color: var(--see); }

.menue-schalter { display: none; }
.menue-knopf { display: none; cursor: pointer; padding: 8px; border-radius: 10px; color: var(--see-dunkel); }
.menue-knopf .icon { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .menue-knopf { display: block; }
  .hauptnav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px;
    background: var(--weiss);
    border-bottom: 1px solid var(--rand);
    box-shadow: var(--schatten);
  }
  .hauptnav a { padding: 12px 16px; }
  .hauptnav .nav-konto { margin: 8px 0 0; justify-content: center; }
  .menue-schalter:checked ~ .hauptnav { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--weiss);
  padding: 88px 0 150px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .14) 0, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(91, 158, 95, .35) 0, transparent 45%),
    linear-gradient(160deg, var(--see-dunkel) 0%, var(--see) 45%, var(--tuerkis) 100%);
}
.hero-klein { padding: 56px 0 110px; }
.hero-inhalt { position: relative; z-index: 1; }
.hero-inhalt > * { max-width: 720px; }
.hero h1 { color: var(--weiss); font-size: clamp(2.3rem, 6vw, 3.8rem); margin-bottom: 16px; }
.hero-klein h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.hero-akzent { color: #bdf0ea; }
.hero-gruss {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 20px;
}
.hero-text { font-size: 1.2rem; opacity: .92; max-width: 600px; }
.hero-klein .hero-text { font-size: 1.1rem; margin: 0; }

.welle { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; }
.welle-hinten { fill: rgba(255, 255, 255, .25); }
.welle-vorne { fill: var(--hintergrund); }

/* ---------- Knöpfe ---------- */
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.knopfspalte { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-hell { background: var(--weiss); color: var(--see-dunkel); box-shadow: 0 6px 20px rgba(0, 0, 0, .15); }
.btn-hell:hover { color: var(--see); }
.btn-rand { border-color: rgba(255, 255, 255, .7); color: var(--weiss); }
.btn-rand:hover { background: rgba(255, 255, 255, .12); color: var(--weiss); }
.btn-primaer { background: var(--see); color: var(--weiss); }
.btn-primaer:hover { background: var(--see-dunkel); color: var(--weiss); box-shadow: var(--schatten); }
.btn-zweit { background: var(--tuerkis-hell); color: var(--see-dunkel); }
.btn-zweit:hover { background: #d2edeb; color: var(--see-dunkel); }
.btn-breit { width: 100%; }
.btn-mini { padding: 6px 12px; font-size: .85rem; background: var(--tuerkis-hell); color: var(--see-dunkel); }
.btn-gefahr { background: #fbe9e7; color: var(--gefahr); }
.btn-gefahr:hover { background: var(--gefahr); color: var(--weiss); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 72px 0; }
.abschnitt-direkt { padding-top: 0; margin-top: -80px; position: relative; z-index: 2; }
.abschnitt-sand { background: var(--sand); }
.abschnitt-kopf { text-align: center; max-width: 640px; margin: 0 auto 40px; }

.zwei-spalten { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.termine-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.stapel { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 860px) {
  .zwei-spalten, .termine-layout { grid-template-columns: 1fr; gap: 32px; }
  .abschnitt { padding: 52px 0; }
}

.box {
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--schatten);
}
.box-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.box-kopf h3 { display: flex; align-items: center; gap: 8px; margin: 0; }
.box-link { display: flex; gap: 16px; align-items: center; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.box-link:hover { box-shadow: var(--schatten-hover); transform: translateY(-2px); color: inherit; }
.box-link h3 { margin: 0; }
.box-link p { margin: 0; }

/* ---------- Fakten ---------- */
.fakten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fakt {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 16px; align-items: center;
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--schatten-hover);
}
.fakt-icon {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--tuerkis-hell); color: var(--see);
}
.fakt-icon .icon { width: 26px; height: 26px; }
.fakt-zahl { font-size: 1.7rem; font-weight: 800; color: var(--see-dunkel); line-height: 1.1; }
.fakt-text { color: var(--text-leise); font-size: .95rem; }
@media (max-width: 700px) { .fakten { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Kacheln ---------- */
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.kachel {
  display: flex; flex-direction: column;
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--schatten);
  transition: transform .2s, box-shadow .2s;
}
.kachel:hover { transform: translateY(-4px); box-shadow: var(--schatten-hover); color: var(--text); }
.kachel p { color: var(--text-leise); flex: 1; }
.kachel-icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, var(--see), var(--tuerkis));
  color: var(--weiss);
  margin-bottom: 18px;
}
.kachel-icon .icon { width: 26px; height: 26px; }
.kachel-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--see); }
.kachel:hover .kachel-link .icon { transform: translateX(3px); }
.kachel-link .icon { transition: transform .2s; }

/* ---------- Termine ---------- */
.termin-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.termin { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--rand); }
.termin:last-child { border-bottom: none; }
.termin-liste-gross { gap: 14px; margin-top: 20px; }
.termin-liste-gross .termin {
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--schatten);
}
.termin-liste-gross .termin:last-child { border-bottom: 1px solid var(--rand); }
.termin-intern .datum-badge { background: #fdf3dc; color: #8a5a00; }

.datum-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 62px; height: 66px;
  border-radius: 14px;
  background: var(--tuerkis-hell);
  color: var(--see);
}
.datum-tag { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.datum-monat { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.termin-info { flex: 1; min-width: 0; }
.termin-info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.termin-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--text-leise); font-size: .95rem; margin: 0; }
.termin-meta span { display: inline-flex; align-items: center; gap: 6px; }
.termin-text { margin: 10px 0 8px; }

.link-klein { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.link-klein:hover { text-decoration: underline; }

.etikett {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--tuerkis-hell);
  color: var(--see);
  font-size: .75rem;
  font-weight: 700;
  vertical-align: middle;
}
.termin-intern .etikett { background: #fdf3dc; color: #8a5a00; }
.etikett-hervor { background: var(--sonne); color: #4a3200; }

.abo-box { position: sticky; top: 96px; }
.abo-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 18px;
  background: linear-gradient(135deg, var(--see), var(--tuerkis));
  color: var(--weiss);
  margin-bottom: 16px;
}
.abo-icon .icon { width: 28px; height: 28px; }
.abo-url { display: block; font-size: .85rem; color: var(--text-leise); }
.abo-url input { margin-top: 6px; font-size: .85rem; }
@media (max-width: 860px) { .abo-box { position: static; } }

/* ---------- Gewässer ---------- */
.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--tuerkis-hell); color: var(--see-dunkel); font-weight: 500; font-size: .95rem; }

.steckbrief { margin: 0; }
.steckbrief div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rand); }
.steckbrief div:last-child { border-bottom: none; }
.steckbrief dt { color: var(--text-leise); }
.steckbrief dd { margin: 0; font-weight: 600; text-align: right; }

.gewaesserkarte { margin: 0; }
.gewaesserkarte img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--schatten-hover);
  background: var(--weiss);
}
.gewaesserkarte figcaption { text-align: center; color: var(--text-leise); font-size: .9rem; margin-top: 12px; }

.platzhalter {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 56px 24px;
  border: 2px dashed #c9d7da;
  border-radius: var(--radius);
  color: var(--text-leise);
  text-align: center;
  background: rgba(255, 255, 255, .6);
}
.platzhalter p { margin: 0; }

.checkliste { list-style: none; padding: 0; margin: 0 0 1em; }
.checkliste li { position: relative; padding: 6px 0 6px 34px; }
.checkliste li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--tuerkis-hell) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b5d7a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Gastkarten ---------- */
.preise { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: stretch; }
.preis-karte {
  position: relative;
  background: var(--weiss);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--schatten);
}
.preis-karte-hervor { border: 2px solid var(--tuerkis); box-shadow: var(--schatten-hover); }
.preis-karte .etikett-hervor { position: absolute; top: -12px; right: 24px; padding: 4px 12px; }
.preis { font-size: 2.4rem; font-weight: 800; color: var(--see-dunkel); margin: 4px 0 16px; }

.verkauf { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.verkauf-eintrag { display: flex; gap: 16px; background: var(--weiss); padding: 20px; border-radius: var(--radius); box-shadow: var(--schatten); }
.verkauf-eintrag .kachel-icon { margin: 0; }
.verkauf-eintrag h3 { margin-bottom: 4px; }
.verkauf-eintrag p { margin: 0; color: var(--text-leise); }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.kontakt-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.kontakt-liste li { display: flex; gap: 14px; align-items: flex-start; background: var(--weiss); border: 1px solid var(--rand); border-radius: var(--radius); padding: 18px 20px; }
.kontakt-liste .icon { color: var(--tuerkis); width: 22px; height: 22px; margin-top: 3px; }
@media (max-width: 860px) { .kontakt { grid-template-columns: 1fr; } }

/* ---------- Formulare ---------- */
.formular { display: flex; flex-direction: column; gap: 16px; }
.formular label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.formular label small { font-weight: 400; color: var(--text-leise); }
.formular-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.formular .checkbox { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; }
.formular .checkbox input { width: 18px; height: 18px; accent-color: var(--see); }
.formular .btn { align-self: flex-start; }
.formular .btn-breit { align-self: stretch; }

input, select, textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  padding: 11px 14px;
  border: 1.5px solid var(--rand);
  border-radius: var(--radius-klein);
  background: var(--weiss);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--tuerkis); box-shadow: 0 0 0 4px rgba(23, 162, 160, .15); }
input[type="file"] { padding: 9px; }

.login-seite { display: grid; place-items: center; padding: 64px 20px 88px; }
.login-box { width: 100%; max-width: 420px; text-align: center; }
.login-box .abo-icon { margin: 0 auto 16px; }
.login-box .formular { text-align: left; margin: 20px 0; }
.login-box h1 { font-size: 1.8rem; }

/* ---------- Hinweise ---------- */
.hinweis { margin: 20px 0 0; padding: 14px 18px; border-radius: var(--radius-klein); font-weight: 500; border: 1px solid; }
.hinweis-erfolg { background: #e8f5ea; border-color: #b9dfbf; color: #24592b; }
.hinweis-fehler { background: #fdecea; border-color: #f3c3bd; color: #8c2b22; }
.hinweis-info { background: var(--tuerkis-hell); border-color: #b8e2e0; color: var(--see-dunkel); }
.login-box .hinweis { text-align: left; }

/* ---------- Verwaltung ---------- */
.reiter-intern { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; }
.reiter-intern a { padding: 8px 16px; border-radius: 999px; background: var(--tuerkis-hell); color: var(--see-dunkel); text-decoration: none; font-weight: 600; font-size: .95rem; }
.reiter-intern a:hover { background: var(--see); color: var(--weiss); }
.admin-raster { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .admin-raster { grid-template-columns: 1fr; } }
.tabellen-box { padding: 8px; overflow-x: auto; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-leise); padding: 12px 14px; }
.tabelle td { padding: 12px 14px; border-top: 1px solid var(--rand); vertical-align: middle; }
.tabelle .aktionen { display: flex; gap: 6px; justify-content: flex-end; white-space: nowrap; }
.tabelle .aktionen form { margin: 0; }
.karte-vorschau { border-radius: var(--radius-klein); }

/* ---------- Textseiten ---------- */
.text-seite { max-width: 760px; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--see-dunkel); color: rgba(255, 255, 255, .8); padding: 56px 0 0; margin-top: 0; }
.fuss-inhalt { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.fuss h4 { color: var(--weiss); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fuss a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }
.marke-hell, .marke-hell:hover { color: var(--weiss); }
.marke-hell .marke-text span { color: rgba(255, 255, 255, .7); }
.fuss-gruss { margin-top: 16px; }
.fuss-unten { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; padding-bottom: 24px; font-size: .9rem; color: rgba(255, 255, 255, .6); }
@media (max-width: 700px) { .fuss-inhalt { grid-template-columns: 1fr 1fr; } .fuss-inhalt > :first-child { grid-column: 1 / -1; } }
