/* ============================================================
   Sommerfest Obermayr – Hauptstylesheet (Space Theme)
   ============================================================ */

:root {
  --clr-primary:   #4a6fa5;
  --clr-primary-d: #2d3f6e;
  --clr-accent:    #f0b429;
  --clr-red:       #e85c4a;
  --clr-pink:      #f09ab8;
  --clr-teal:      #5ab4c5;
  --clr-bg:        #faf7f2;
  --clr-card:      #ffffff;
  --clr-text:      #2c2c3a;
  --clr-muted:     #7a7a9a;
  --clr-border:    #ece8f8;
  --clr-error:     #e53935;
  --clr-success:   #43a047;
  --radius:        16px;
  --radius-sm:     10px;
  --shadow:        0 8px 32px rgba(45,63,110,.13);
  --shadow-sm:     0 2px 12px rgba(45,63,110,.08);
  --transition:    0.28s cubic-bezier(.4,0,.2,1);
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base
-------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: var(--clr-primary); text-decoration: none; }

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 5.5vw, 3.2rem); }
h2 { font-size: clamp(1.3rem, 3.5vw, 2rem); }
h3 { font-size: 1.1rem; }

p { line-height: 1.7; }

.container {
  width: min(92%, 860px);
  margin-inline: auto;
}

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

/* ============================================================
   HERO – Space / Watercolour Theme
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #faf7f2;
  padding: 2rem 1rem 5rem;
}

/* ── Parallax layer ─────────────────────── */
.hero-bg {
  position: absolute;
  inset: -10%;
  will-change: transform;
  transition: transform .05s linear;
  pointer-events: none;
}

/* ── SVG Decorations ────────────────────── */
.deco {
  position: absolute;
  pointer-events: none;
  overflow: visible;
}

/* Planet + stars cluster – top left */
.deco-planet {
  width: clamp(140px, 22vw, 200px);
  top: 0; left: -1%;
  animation: floatA 10s ease-in-out infinite;
}

/* Moon crescent – top right */
.deco-moon {
  width: clamp(72px, 11vw, 108px);
  top: 0; right: 1%;
  animation: floatB 9s ease-in-out infinite .5s;
}

/* Rocket – top center-right */
.deco-rocket {
  width: clamp(160px, 26vw, 240px);
  top: 2%; left: 50%;
  transform: translateX(-30%) rotate(-20deg);
  animation: floatRocket 8s ease-in-out infinite;
}

/* Shooting comet – left middle */
.deco-comet {
  width: clamp(120px, 20vw, 190px);
  top: 36%; left: -1%;
  animation: floatA 11s ease-in-out infinite .8s;
}

/* Astronaut – bottom left */
.deco-astro {
  width: clamp(110px, 18vw, 175px);
  bottom: 10%; left: 0%;
  animation: floatC 12s ease-in-out infinite;
}

/* Cloud + flag – bottom right-center */
.deco-flag {
  width: clamp(120px, 20vw, 190px);
  bottom: 10%; right: 4%;
  animation: floatA 9s ease-in-out infinite 1s;
}

/* Rose dome – far bottom right */
.deco-dome {
  width: clamp(70px, 11vw, 110px);
  bottom: 6%; right: 1%;
  animation: floatB 10s ease-in-out infinite .3s;
}

/* Scattered stars overlay – full hero */
.deco-stars {
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Bottom clouds – full width, pinned to bottom */
.deco-clouds-bottom {
  width: 100%;
  height: clamp(60px, 12vw, 120px);
  bottom: 0; left: 0;
}

/* ── Float animations ─────────────────── */
@keyframes floatA {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(12px); }
}
@keyframes floatC {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-18px) rotate(2deg); }
}
@keyframes floatRocket {
  0%,100% { transform: translateX(-30%) rotate(-20deg) translateY(0); }
  50%      { transform: translateX(-30%) rotate(-20deg) translateY(-12px); }
}

/* (old CSS deco removed – replaced by SVG) */

/* ── Hero content ─────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: fadeUp .9s ease both;
  max-width: 700px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: min(190px, 44vw);
  height: auto;
  animation: fadeUp .7s ease .1s both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-primary);
  box-shadow: var(--shadow-sm);
  animation: fadeUp .7s ease .2s both;
}

.hero h1 {
  color: var(--clr-primary-d);
  animation: fadeUp .7s ease .3s both;
  white-space: nowrap;
  font-size: clamp(1.5rem, 4.8vw, 3.2rem);
}

.hero-subtitle {
  font-size: clamp(.9rem, 2.5vw, 1.08rem);
  color: var(--clr-muted);
  max-width: 480px;
  animation: fadeUp .7s ease .4s both;
}

/* Date display */
.hero-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  animation: fadeUp .7s ease .45s both;
}

.hero-date-main {
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  font-weight: 800;
  color: var(--clr-primary-d);
  letter-spacing: .01em;
}

.hero-date-time {
  font-size: .88rem;
  color: var(--clr-muted);
  font-weight: 500;
}

/* Event info chips */
.hero-info {
  display: flex;
  gap: .45rem;
  flex-wrap: nowrap;
  justify-content: center;
  animation: fadeUp .7s ease .5s both;
}

.info-chip {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 100px;
  padding: .38rem .75rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--clr-text);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,.13); }
.btn:active       { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-d) 100%);
  color: #fff;
  padding: .85rem 2.2rem;
  box-shadow: 0 6px 24px rgba(74,111,165,.38);
  animation: fadeUp .7s ease .6s both;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74,111,165,.48);
}

.btn-accent {
  background: linear-gradient(135deg, var(--clr-red) 0%, #c0392b 100%);
  color: #fff;
  padding: .85rem 2.2rem;
  box-shadow: 0 6px 24px rgba(232,92,74,.35);
  font-size: 1.05rem;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232,92,74,.45);
}
.btn-accent:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  padding: .6rem 1.4rem;
  font-size: .9rem;
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: #fff;
}

.btn-sm   { padding: .5rem 1.2rem; font-size: .85rem; }
.btn-danger {
  background: var(--clr-error);
  color: #fff;
  padding: .5rem 1.1rem;
  font-size: .85rem;
}

.scroll-hint { display: none; }

/* ============================================================
   WAVE
   ============================================================ */
.wave { display: block; width: 100%; overflow: hidden; line-height: 0; }
.wave svg { display: block; }

/* ============================================================
   SECTION / CARDS
   ============================================================ */
.section { padding: 4rem 1rem; }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 { color: var(--clr-primary-d); }
.section-header p  { color: var(--clr-muted); margin-top: .5rem; font-size: .95rem; }

.card {
  background: var(--clr-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--clr-border);
  overflow: hidden;
}
.card-body { padding: 2rem; }

/* ============================================================
   FORM PAGE
   ============================================================ */
.form-page {
  min-height: 100svh;
  background: linear-gradient(160deg, #eef2fc 0%, var(--clr-bg) 60%);
  padding: 1.5rem 1rem 3rem;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.form-header img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; }
.form-header h1  { font-size: 1.4rem; color: var(--clr-primary-d); }

/* Progress */
.progress-bar {
  height: 4px;
  background: var(--clr-border);
  border-radius: 100px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: 100px;
  transition: width .4s ease;
  width: 0%;
}

/* Form sections */
.form-section { margin-bottom: 1.25rem; }

.form-section-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-muted);
  padding-bottom: .75rem;
}
.form-section-title::before {
  content: '';
  display: inline-block;
  width: 3px; height: 1rem;
  background: var(--clr-primary);
  border-radius: 100px;
}

/* Fields */
.field { margin-bottom: 1rem; }

.field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: .4rem;
}
.field label .required { color: var(--clr-red); }

.field input[type="text"],
.field input[type="number"],
.field input[type="password"] {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  background: #fff;
  color: var(--clr-text);
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(74,111,165,.12);
}
.field input.error {
  border-color: var(--clr-error);
  box-shadow: 0 0 0 3px rgba(229,57,53,.08);
}

.field-error {
  font-size: .8rem;
  color: var(--clr-error);
  margin-top: .3rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* Number input stepper */
.number-input-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.number-input-wrap input[type="number"] {
  width: 80px;
  text-align: center;
  padding: .7rem .5rem;
}

.stepper-btn {
  width: 40px; height: 40px;
  border: 1.5px solid var(--clr-border);
  border-radius: 50%;
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  transition: var(--transition);
  flex-shrink: 0;
}
.stepper-btn:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

/* Würstchen card */
.wurst-card {
  background: #f7f8fd;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: .75rem;
  transition: var(--transition);
}
.wurst-card.active {
  background: #eef2fc;
  border-color: var(--clr-primary);
}

.wurst-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wurst-label { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.wurst-label .icon { font-size: 1.4rem; }

.wurst-qty {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--clr-border);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}
.wurst-qty.visible { opacity: 1; max-height: 80px; }
.wurst-qty label { font-size: .88rem; color: var(--clr-muted); font-weight: 500; }

/* ============================================================
   iOS TOGGLE
   ============================================================ */
.toggle-wrap { display: flex; align-items: center; gap: .75rem; cursor: pointer; }

.toggle-input {
  position: absolute;
  opacity: 0; width: 0; height: 0;
}

.toggle { position: relative; width: 51px; height: 31px; flex-shrink: 0; }

.toggle-track {
  position: absolute;
  inset: 0;
  background: #dde0ea;
  border-radius: 100px;
  transition: background var(--transition);
}
.toggle-input:checked + .toggle-track { background: var(--clr-primary); }

.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 27px; height: 27px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  transition: transform var(--transition);
}
.toggle-input:checked + .toggle-track + .toggle-thumb { transform: translateX(20px); }

/* Confirmation */
.confirm-card {
  background: linear-gradient(135deg, #eef2fc, #e6ecf8);
  border: 2px solid var(--clr-primary);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
}

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success-page {
  min-height: 100svh;
  background: linear-gradient(160deg, #eef2fc 0%, var(--clr-bg) 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.success-card { max-width: 520px; width: 100%; text-align: center; }
.success-icon {
  font-size: 4rem;
  animation: pop .5s cubic-bezier(.17,.67,.35,1.3) both;
  margin-bottom: .5rem;
}
@keyframes pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-card h1 { color: var(--clr-primary-d); margin: .5rem 0; }
.success-card p  { color: var(--clr-muted); }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-page { min-height: 100svh; background: #f0f2fa; font-size: .9rem; }

.admin-header {
  background: linear-gradient(135deg, var(--clr-primary-d) 0%, var(--clr-primary) 100%);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-header-brand {
  display: flex; align-items: center; gap: .75rem;
  font-weight: 700; font-size: 1rem;
}
.admin-header-brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.admin-header-actions   { display: flex; gap: .5rem; align-items: center; }

.admin-content { padding: 1.5rem; max-width: 1200px; margin: 0 auto; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.stat-card .stat-label {
  font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--clr-muted);
}
.stat-card .stat-value {
  font-size: 2rem; font-weight: 800; color: var(--clr-primary-d); line-height: 1;
}
.stat-card .stat-icon { font-size: 1.5rem; }

.table-wrap {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: auto;
}
.admin-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.admin-table th {
  background: #f5f6fb;
  padding: .75rem 1rem;
  text-align: left;
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--clr-muted);
  border-bottom: 1px solid var(--clr-border);
}
.admin-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #f0f0f8;
  color: var(--clr-text);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td      { background: #f8f9fd; }

.badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 100px;
  font-size: .75rem; font-weight: 600;
}
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-gray  { background: #f5f5f5; color: #757575; }

/* Admin Login */
.login-page {
  min-height: 100svh;
  background: linear-gradient(160deg, #eef2fc 0%, var(--clr-bg) 60%);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem;
}
.login-card { width: min(100%, 400px); }
.login-logo { text-align: center; margin-bottom: 1.5rem; }
.login-logo img {
  width: 130px; height: 130px; object-fit: contain;
  margin-inline: auto;
}
.login-logo h2 { color: var(--clr-primary-d); margin-top: .75rem; font-size: 1.1rem; }

/* Alerts */
.alert {
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .9rem; margin-bottom: 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.alert-error   { background: #fdecea; color: #c62828; border-left: 3px solid #e53935; }
.alert-success { background: #e8f5e9; color: #1b5e20; border-left: 3px solid #43a047; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   MISC
   ============================================================ */
.hp-field { display: none !important; }
.js-only  { display: none; }
.js .js-only { display: flex; }
.js .no-js   { display: none; }

/* ============================================================
   RESPONSIVE – Mobile First
   ============================================================ */

/* ── Tablet / kleiner Desktop (≤ 768px) ─── */
@media (max-width: 768px) {
  .admin-header-actions { gap: .35rem; }
  .admin-table          { font-size: .82rem; }
}

/* ── Smartphone Landscape + breite Phones (≤ 600px) ─── */
@media (max-width: 600px) {

  /* Admin */
  .card-body      { padding: 1.1rem; }
  .admin-content  { padding: .9rem; }
  .admin-header   { padding: .75rem 1rem; flex-direction: column; align-items: flex-start; gap: .6rem; }
  .admin-header-actions { flex-wrap: wrap; }
  .stats-grid     { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .stat-card      { padding: .9rem; }
  .stat-card .stat-value { font-size: 1.6rem; }
  .admin-table th,
  .admin-table td { padding: .55rem .65rem; font-size: .8rem; }

  /* Form */
  .form-header h1 { font-size: 1.2rem; }
  .form-page      { padding: 1.25rem .9rem 2.5rem; }
}

/* ── Smartphones (≤ 480px) ──────────────── */
@media (max-width: 480px) {

  /* Hero: Dekorationen reduzieren – weniger ist mehr auf Mobile */
  .deco-planet        { width: clamp(72px, 20vw, 120px); opacity: .85; }
  .deco-moon          { width: clamp(44px,  9vw,  64px); opacity: .85; }
  .deco-rocket        { width: clamp(90px, 22vw, 140px); }
  .deco-astro         { width: clamp(62px, 14vw, 100px); }
  .deco-flag          { width: clamp(64px, 15vw, 105px); }
  .deco-clouds-bottom { height: clamp(44px, 11vw, 80px); }

  /* Auf Mobile ausblenden: Komet (links-mitte) + Dome (unten) + Sterne */
  .deco-comet  { display: none; }
  .deco-dome   { display: none; }
  .deco-stars  { display: none; }

  /* Hero Content */
  .hero         { padding: 1.5rem .75rem 4.5rem; }
  .hero-content { gap: .75rem; }
  .hero-logo    { width: min(150px, 38vw); }

  /* Titel: eine Zeile, aber klein genug für 375px */
  .hero h1 {
    font-size: clamp(1.15rem, 5.5vw, 2rem);
    white-space: nowrap;
  }

  /* Datum */
  .hero-date-main { font-size: clamp(.95rem, 4vw, 1.2rem); }
  .hero-date-time { font-size: .82rem; }

  /* Badge */
  .hero-badge { font-size: .78rem; padding: .35rem .85rem; }

  /* Einladungstext */
  .hero-subtitle { font-size: .88rem; }

  /* Chips: 3 nebeneinander mit kleinerem Text */
  .hero-info   { gap: .3rem; flex-wrap: nowrap; }
  .info-chip   { padding: .3rem .55rem; font-size: .72rem; gap: .28rem; }

  /* CTA Button */
  .btn-primary { padding: .75rem 1.75rem; font-size: .95rem; }

  /* Form */
  .stepper-btn            { width: 44px; height: 44px; font-size: 1.1rem; }
  .number-input-wrap input[type="number"] { width: 68px; padding: .65rem .4rem; }
  .wurst-card             { padding: .85rem; }
  .confirm-card           { padding: 1rem; }
}

/* ── Kleine Smartphones (≤ 390px, iPhone SE etc.) ─── */
@media (max-width: 390px) {

  /* Chips können jetzt umbrechen wenn wirklich nötig */
  .hero-info  { flex-wrap: wrap; justify-content: center; gap: .35rem; }
  .info-chip  { font-size: .74rem; padding: .32rem .6rem; }

  /* Dekorationen weiter reduzieren */
  .deco-planet { width: 68px; }
  .deco-moon   { width: 42px; }
  .deco-rocket { width: 100px; }
  .deco-astro  { width: 62px; bottom: 12%; }
  .deco-flag   { width: 68px; bottom: 12%; right: 2%; }

  /* Hero padding anpassen */
  .hero { padding-bottom: 5rem; }

  /* Form Header */
  .form-header      { gap: .65rem; }
  .form-header img  { width: 42px; height: 42px; }
  .form-header h1   { font-size: 1.1rem; }
}

/* ── Touch-Targets global (alle Geräte) ─── */
@media (hover: none) and (pointer: coarse) {
  /* Mindest-Tappfläche 44px für alle interaktiven Elemente */
  .btn          { min-height: 44px; }
  .stepper-btn  { width: 44px; height: 44px; }
  .toggle       { width: 54px; height: 34px; }
  .toggle-thumb { width: 30px; height: 30px; }

  /* Inputs etwas größer auf Touch */
  .field input[type="text"],
  .field input[type="number"],
  .field input[type="password"] { padding: .9rem 1rem; font-size: 16px; /* verhindert iOS Zoom */ }
}
