/* ============================================================
   Angelverein Ravenstein — Stylesheet v2
   Natur-Design · Große Schrift · Mobile-first · Seniorenfreundlich
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ── Variablen ───────────────────────────────────────────── */
:root {
  --green-deep:   #1e3d1f;
  --green-mid:    #2d5a2e;
  --green-soft:   #4a7c4e;
  --green-light:  #c8dfc9;
  --green-pale:   #eef5ee;
  --green-accent: #5a9e5e;

  --water:        #3a6b8a;
  --water-light:  #d0e8f0;

  --amber:        #c07c2a;
  --amber-light:  #fdf0dc;

  --text-dark:    #1a2b1b;
  --text-body:    #2e4030;
  --text-muted:   #5c7060;
  --text-faint:   #8aA08c;

  --bg:           #f7faf7;
  --bg-card:      #ffffff;
  --bg-section:   #f0f5f0;

  --border:       #d0ddd1;
  --border-light: #e4ede4;

  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    18px;
  --radius-xl:    26px;

  --shadow-sm:    0 1px 4px rgba(30,61,31,.07);
  --shadow-md:    0 3px 12px rgba(30,61,31,.10);
  --shadow-lg:    0 8px 32px rgba(30,61,31,.13);

  --font-head:    'Lora', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;

  --max-w:        1100px;
  --gap:          20px;

  --tap:          48px;            /* mind. Touch-Größe */
}

/* ── Reset & Basis ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; border-radius: var(--radius-md); }
a { color: var(--green-mid); text-decoration: none; }
a:hover { color: var(--green-deep); text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--text-dark); line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 600; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin-bottom: .6rem; }
p:last-child { margin-bottom: 0; }
ul,ol { padding-left: 1.4rem; }
li { margin-bottom: .25rem; }

/* ── Helfer ─────────────────────────────────────────────── */
.wrap     { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section  { padding: 48px 0; }
.small    { font-size: .85rem; color: var(--text-muted); }
.lead     { font-size: 1.08rem; color: var(--text-muted); }
.muted    { color: var(--text-muted); }
.hide-mobile { display: initial; }
.only-mobile { display: none; }

/* ── Topbar ──────────────────────────────────────────────── */
.topbar {
  background: var(--green-deep);
  color: #c8dfc9;
  font-size: .85rem;
  padding: 8px 0;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.top-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.top-pill {
  background: rgba(255,255,255,.12); color: #d9edd9;
  padding: 6px 14px; border-radius: 999px; font-size: .82rem;
  border: 1px solid rgba(255,255,255,.18); transition: background .2s;
}
.top-pill:hover { background: rgba(255,255,255,.22); text-decoration: none; color: #fff; }

/* ── Navbar (mit Hamburger) ──────────────────────────────── */
.navbar {
  background: var(--bg-card);
  border-bottom: 1.5px solid var(--border-light);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 16px; min-height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-brand:hover { text-decoration: none; }
.nav-logo {
  font-size: 1.6rem; width: 44px; height: 44px;
  background: var(--green-pale); border: 1.5px solid var(--green-light);
  border-radius: 50%; display: grid; place-items: center;
}
.nav-title { font-family: var(--font-head); font-weight: 600; color: var(--green-deep); font-size: 1.05rem; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-body); padding: 12px 14px; font-size: .95rem; font-weight: 500;
  border-radius: var(--radius-md); transition: all .15s; white-space: nowrap;
}
.nav-link:hover { background: var(--green-pale); color: var(--green-deep); text-decoration: none; }
.nav-link.special { color: var(--green-mid); font-weight: 600; }
.nav-link.special:hover { background: var(--green-pale); }
.nav-ico { font-size: 1rem; line-height: 1; }

.nav-toggle-cb { display: none; }
.nav-toggle {
  display: none; width: var(--tap); height: var(--tap); margin-left: auto;
  cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: var(--radius-md); transition: background .15s;
}
.nav-toggle:hover { background: var(--green-pale); }
.nav-toggle span {
  display: block; width: 26px; height: 3px; background: var(--green-deep);
  border-radius: 2px; transition: all .25s;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 60%, var(--green-soft) 100%);
  color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 340px; gap: 40px;
  align-items: start; position: relative;
}
.brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.brand-row .logo {
  font-size: 2.2rem; background: rgba(255,255,255,.15);
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-row strong { font-family: var(--font-head); font-size: 1.15rem; display: block; color: #fff; }
.brand-row span   { font-size: .82rem; color: rgba(255,255,255,.65); }

.hero h1 { color: #fff; margin-bottom: 14px; }
.hero .lead { color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 56ch; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(4px);
}
.hero-card h3 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.hero-card article {
  background: rgba(255,255,255,.08); border-radius: var(--radius-md);
  padding: 12px 14px; margin-bottom: 10px; font-size: .92rem;
  color: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.12);
}
.hero-card article strong { display: block; color: #fff; margin-bottom: 4px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--tap); padding: 12px 22px;
  border-radius: var(--radius-md); font-family: var(--font-body);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all .18s;
  text-decoration: none; line-height: 1.1; white-space: nowrap;
}
.btn.primary  { background: var(--green-accent); color: #fff; border-color: var(--green-accent); }
.btn.primary:hover  { background: var(--green-mid); border-color: var(--green-mid); color: #fff; text-decoration: none; }
.btn.ghost    { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn.ghost:hover    { background: rgba(255,255,255,.22); color: #fff; text-decoration: none; }
.btn.dark     { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.btn.dark:hover     { background: var(--green-mid); color: #fff; text-decoration: none; }
.btn.light    { background: var(--green-pale); color: var(--green-deep); border-color: var(--green-light); }
.btn.light:hover    { background: var(--green-light); color: var(--green-deep); text-decoration: none; }
.btn.outline  { background: transparent; color: var(--green-mid); border-color: var(--green-mid); }
.btn.outline:hover  { background: var(--green-pale); text-decoration: none; }
.btn.danger   { background: #c0392b; color: #fff; border-color: #c0392b; }
.btn.danger:hover   { background: #a93226; color: #fff; text-decoration: none; }
.btn.small    { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn.full     { width: 100%; }

/* ── Stat-Kacheln ────────────────────────────────────────── */
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--gap); }
.stat {
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 24px 18px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: 2.2rem; font-family: var(--font-head); color: var(--green-mid); line-height: 1; margin-bottom: 6px; }
.stat span   { font-size: .9rem; color: var(--text-muted); font-weight: 500; }

/* ── Sektions-Kopf ───────────────────────────────────────── */
.head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.head h2 { margin-bottom: 4px; }
.head p  { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ── Karten ──────────────────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm);
}
.card.feature { border-color: var(--green-light); box-shadow: var(--shadow-md); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }

/* ── Termine ─────────────────────────────────────────────── */
.event {
  display: grid; grid-template-columns: 68px 1fr auto;
  gap: 16px; align-items: center;
  padding: 18px 22px; border-bottom: 1.5px solid var(--border-light);
}
.event:last-child { border-bottom: none; }
.event:hover { background: var(--green-pale); }
.event h3 { font-size: 1.05rem; margin-bottom: 4px; }
.date {
  background: var(--green-pale); border: 1.5px solid var(--green-light);
  border-radius: var(--radius-md); text-align: center; padding: 10px 6px; min-width: 60px;
}
.date strong { display: block; font-size: 1.6rem; font-family: var(--font-head); color: var(--green-mid); line-height: 1; }
.date span   { font-size: .72rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ── Teiche / Meter ──────────────────────────────────────── */
.pond-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.pond-head h3 { margin: 0; }
.meter { background: var(--border-light); border-radius: 99px; height: 10px; margin: 10px 0 4px; overflow: hidden; }
.meter div { background: linear-gradient(90deg, var(--green-soft), var(--green-accent)); height: 100%; border-radius: 99px; transition: width .4s ease; }

/* ── Projekte ────────────────────────────────────────────── */
.project { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.project > strong { font-size: 1.6rem; font-family: var(--font-head); color: var(--green-light); white-space: nowrap; }
.project > div { flex: 1; }
.project h3 { margin: 8px 0 6px; }

/* ── Badges ──────────────────────────────────────────────── */
.badge { display: inline-block; padding: 4px 12px; border-radius: 99px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.badge.success { background: #e0f5e0; color: #1a5c1a; border: 1px solid #b3ddb3; }
.badge.info    { background: #dceef8; color: #1a4b6d; border: 1px solid #a9cfe8; }
.badge.warn    { background: #fef3dc; color: #7a4d10; border: 1px solid #f0d090; }
.badge.danger  { background: #fde8e7; color: #7a1a18; border: 1px solid #f0b0ad; }
.badge.neutral { background: var(--bg-section); color: var(--text-muted); border: 1px solid var(--border); }

/* ── Login ───────────────────────────────────────────────── */
.login-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.page-title  { text-align: center; padding: 48px 20px 24px; max-width: 720px; margin: 0 auto; }
.page-title h1 { margin-bottom: 8px; }

/* ── Formulare ───────────────────────────────────────────── */
.stack { display: flex; flex-direction: column; gap: 16px; }

label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .95rem; font-weight: 600; color: var(--text-dark);
}

input[type=text], input[type=email], input[type=password],
input[type=number], input[type=date], input[type=file],
input:not([type]), select, textarea {
  width: 100%; min-height: var(--tap);
  padding: 12px 16px; font-family: var(--font-body);
  font-size: 1.05rem; color: var(--text-dark); background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  transition: border-color .15s, box-shadow .15s; appearance: none; font-weight: 400;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--green-soft);
  box-shadow: 0 0 0 3px rgba(74,124,78,.18);
}
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235c7060' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
input[type=file] { padding: 9px 12px; font-size: .95rem; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.inline-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* ── Hinweis-Box ─────────────────────────────────────────── */
.notice {
  max-width: var(--max-w); margin: 16px auto; padding: 14px 20px;
  background: #fef3dc; border: 1.5px solid #f0d090; border-radius: var(--radius-md);
  color: #7a4d10; font-size: .98rem;
}
.notice.error  { background: #fde8e7; border-color: #f0b0ad; color: #7a1a18; }
.notice.ok     { background: #e0f5e0; border-color: #b3ddb3; color: #1a5c1a; }

/* ── Portal-Hero ─────────────────────────────────────────── */
.portal-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  color: #fff; max-width: var(--max-w); margin: 32px auto;
  border-radius: var(--radius-xl); padding: 36px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.portal-hero h1  { color: #fff; font-size: 1.7rem; margin-bottom: 8px; }
.portal-hero p   { color: rgba(255,255,255,.85); margin-bottom: 20px; }
.portal-hero .grid2 { min-width: 260px; }
.portal-hero .stat { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.20); }
.portal-hero .stat strong { color: #c8dfc9; }
.portal-hero .stat span   { color: rgba(255,255,255,.72); }

/* ── Accordion (seniorenfreundlich) ──────────────────────── */
.acc {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.acc > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; min-height: var(--tap);
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--text-dark);
  background: linear-gradient(180deg, #fff, var(--green-pale));
  border-bottom: 1.5px solid transparent;
  transition: background .15s;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { background: var(--green-pale); }
.acc > summary .acc-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--green-pale); border: 1.5px solid var(--green-light);
  border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem;
}
.acc > summary .acc-label { flex: 1; }
.acc > summary .acc-meta  { font-size: .82rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 500; }
.acc > summary::after {
  content: '+'; font-size: 1.6rem; color: var(--green-mid); font-weight: 400;
  width: 30px; text-align: center; transition: transform .25s;
}
.acc[open] > summary { border-bottom-color: var(--border-light); }
.acc[open] > summary::after { content: '–'; }
.acc-body { padding: 24px 22px; }

/* Innerhalb Accordion: keine doppelten Schatten */
.acc-body .card { box-shadow: none; }

/* ── Quick-Tile-Grid (Mitgliederportal Schnellzugriff) ──── */
.quick-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin-bottom: 28px;
}
.quick-tiles a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 22px 12px; text-align: center;
  color: var(--text-dark); font-weight: 600; font-size: .95rem;
  transition: all .15s; box-shadow: var(--shadow-sm);
}
.quick-tiles a:hover {
  border-color: var(--green-soft); background: var(--green-pale);
  color: var(--green-deep); text-decoration: none; transform: translateY(-2px);
}
.quick-tiles .qt-ico { font-size: 1.9rem; line-height: 1; }

/* ── Tabellen-Liste ──────────────────────────────────────── */
.table-list { display: flex; flex-direction: column; gap: 12px; }
.table-list .card { padding: 18px 20px; }

/* ── Mangel-/Antrags-Bild ────────────────────────────────── */
.image { max-height: 280px; object-fit: cover; width: 100%; margin-top: 12px; }

/* ── Admin ───────────────────────────────────────────────── */
.admin-section { max-width: var(--max-w); margin: 0 auto; padding: 40px 20px; }

.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 14px; border-radius: var(--radius-lg); border: 1.5px solid var(--border-light); }
.data-table {
  width: 100%; border-collapse: collapse; font-size: .94rem; background: var(--bg-card); min-width: 560px;
}
.data-table th {
  background: var(--green-pale); color: var(--text-dark); font-weight: 600;
  padding: 13px 16px; text-align: left; border-bottom: 2px solid var(--border);
  font-size: .85rem; letter-spacing: .03em;
}
.data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-body); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--green-pale); }

.user-edit-row { background: var(--bg-card); border: 1.5px solid var(--border-light); border-radius: var(--radius-lg); padding: 22px; margin-top: 14px; box-shadow: var(--shadow-sm); }
.admin-section-title { margin: 24px 0 8px; color: var(--green-deep); }

/* ── Sticky Bottom Bar (Portal) ──────────────────────────── */
.bottom-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--bg-card); border-top: 1.5px solid var(--border-light);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 10px rgba(30,61,31,.07);
}
.bottom-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 4px; font-size: .72rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none;
}
.bottom-bar a span { font-size: 1.4rem; line-height: 1; }
.bottom-bar a:hover, .bottom-bar a:active { color: var(--green-deep); background: var(--green-pale); }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--green-deep); color: rgba(255,255,255,.75);
  padding: 28px 0; margin-top: 56px;
}
.foot {
  max-width: var(--max-w); margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: .92rem;
}
.foot strong { color: #fff; font-family: var(--font-head); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .hide-mobile { display: none !important; }
  .only-mobile { display: initial; }

  /* Hamburger sichtbar machen */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--bg-card); padding: 12px 16px 100px;
    flex-direction: column; align-items: stretch; gap: 4px;
    overflow-y: auto; transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: -4px 0 20px rgba(30,61,31,.10);
    margin-left: 0;
    border-left: 1.5px solid var(--border-light);
  }
  .nav-toggle-cb:checked ~ .nav-links { transform: translateX(0); }
  .nav-toggle-cb:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle-cb:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-toggle-cb:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav-link {
    padding: 16px 18px; font-size: 1.05rem; min-height: var(--tap);
    border-bottom: 1px solid var(--border-light); border-radius: 0;
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-ico { font-size: 1.3rem; margin-right: 4px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: 2; }

  .portal-hero {
    grid-template-columns: 1fr;
    margin: 16px; padding: 24px 22px;
  }
  .portal-hero .grid2 { min-width: unset; }

  .event { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; padding: 14px 16px; }
  .event > .btn, .event > .badge, .event > form { grid-column: 2; justify-self: start; }

  .row2, .row3 { grid-template-columns: 1fr; }

  .section { padding: 32px 0; }
  .admin-section { padding: 24px 16px; }

  /* Bottom-Bar nur im Portal sichtbar */
  body.has-bottom-bar .bottom-bar { display: flex; }
  body.has-bottom-bar main { padding-bottom: 90px; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .stat strong { font-size: 2rem; }
  .acc > summary { padding: 14px 16px; font-size: 1.08rem; gap: 10px; }
  .acc > summary .acc-ico { width: 36px; height: 36px; font-size: 1.05rem; }
  .acc-body { padding: 18px 16px; }
  .portal-hero { padding: 22px 18px; }
  .nav-title { display: none; }
}

/* Print */
@media print {
  .topbar, .navbar, .bottom-bar, footer, .actions, .nav-toggle, form { display: none !important; }
  .acc { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  .acc[open] > summary { border-bottom: 1px solid #ccc; }
}
