/* styles.css */

@font-face{
  font-family: 'Inter';
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Inter';
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Inter';
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Inter';
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: 'Inter';
  src: url('/assets/fonts/inter-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}



/* =========================
   Design Tokens
========================= */
:root{
  /* Corporate */
  --brand: rgb(74, 103, 183);           /* #4A67B7 */
  --brand-dark: #243B7A;
  --brand-tint: #E9EEFA;

  /* Neutrals */
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #5b667a;
  --line: rgba(15, 23, 42, 0.12);

  /* Effects */
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 6px 18px rgba(15, 23, 42, 0.08);

  /* Radius + spacing */
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 12px;
  --gap: 24px;

  /* Layout */
  --container: 1120px;
}

/* =========================
   Base
========================= */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
p{ margin: 0 0 12px; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.muted{ color: var(--muted); }
.fineprint{ color: var(--muted); font-size: 14px; margin-top: 14px; }
.text-accent{ color: #ffffff; }

/* Headings */
h1, h2, h3, h4{ margin: 0 0 10px; letter-spacing: -0.02em; }
h1{
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}
h2{ font-size: clamp(26px, 3.5vw, 36px); line-height: 1.15; }
h3{ font-size: 20px; }
.h3{ font-size: 20px; }
.h4{ font-size: 16px; }

/* =========================
   Topbar
========================= */
.topbar{
  background: #f6f8ff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 10px;
}
.topbar__link{ opacity: .85; }
.topbar__link:hover{ opacity: 1; text-decoration: underline; }
.topbar__right{ display:flex; gap: 14px; }

/* =========================
   Header
========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  position: relative;
}

.brand__logo{
  height: 42px;
  width: auto;
}

.nav{
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav__link{
  font-weight: 500;
  color: rgba(15, 23, 42, 0.82);
  padding: 10px 8px;
  border-radius: 10px;
}
.nav__link:hover{
  background: rgba(74, 103, 183, 0.08);
  color: rgba(15, 23, 42, 0.95);
}

.header__cta{ display: block; }

/* Mobile menu toggle */
.nav-toggle{ display: none; }
.nav-toggle__btn{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle__btn span{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(15, 23, 42, 0.75);
  border-radius: 2px;
}

.nav-drawer{
  display: none;
  position: absolute;
  right: 0;
  top: 64px;
  width: min(320px, 92vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 10px;
}
.nav-drawer__link{
  display:block;
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 600;
}
.nav-drawer__link:hover{ background: rgba(74, 103, 183, 0.08); }
.nav-drawer__cta{ margin-top: 6px; }

/* Toggle show */
#nav-toggle:checked ~ .nav-drawer{ display: block; }

/* =========================
   Buttons
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 11px 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}

.btn--primary{
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover{
  background: #3f5dad;
  transform: translateY(-1px);
}

.btn--ghost{
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover{
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

.btn--del{
  background: #f59169;
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn--del:hover{
  background: #f59169;
  transform: translateY(-1px);
}

.btn--full{ width: 100%; }
.btn--lg{ padding: 13px 16px; border-radius: 16px; }

/* =========================
   Hero
========================= */
.hero{
  position: relative;
  overflow: clip;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 56px 0 38px;
}
.hero__inner{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero__media{
  border-radius: 18px;              /* runde Ecken */
  overflow: hidden;                 /* schneidet Bild an den Ecken ab */
  box-shadow: 0 16px 40px rgba(15,23,42,0.22); /* Schatten */
  border: 1px solid rgba(255,255,255,0.18);   /* optional: feine Kante */
}

.hero__media img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;                /* schönes Zuschneiden */
}

.badge{
  display:inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.20);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}

.lead{
  font-size: 18px;
  opacity: .95;
  max-width: 56ch;
}

.hero__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 18px;
}

.hero__stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}
.stat{
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  padding: 12px;
}
.stat__value{ font-weight: 800; }
.stat__label{ font-size: 13px; opacity: .9; }

/* Right hero card */
.hero__card{ display:flex; justify-content: flex-end; }
.card{
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.card--glass{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}

.hero__bg{
  position:absolute;
  inset: -20% -20% auto -20%;
  height: 70%;
  background:
    radial-gradient(closest-side, rgba(255,255,255,0.18), transparent 65%),
    radial-gradient(closest-side, rgba(255,255,255,0.12), transparent 70%);
  transform: translateY(18%);
  pointer-events: none;
}

/* =========================
   Button mit Icon (Pfeil)
========================= */

.btn__icon{
  width: 26px;
  height: 26px;
  display: block;

  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;

  transform: translateX(0); /* Standardposition */
  transition: transform .15s ease;
}

.btn--icon-right:hover .btn__icon{
  transform: translateX(4px); /* nur Bewegung */
}

/* Hover: leichte Bewegung */
.btn--icon-right:hover .btn__icon{
  transform: translateX(4px);
}

/* Optional: bei kleineren Buttons automatisch etwas kleiner */
.btn:not(.btn--lg) .btn__icon{
  width: 22px;
  height: 22px;
}


/* =========================
   Forms
========================= */
.form{ margin-top: 12px; display: grid; gap: 12px; }
.field{ display:grid; gap: 6px; font-weight: 600; font-size: 13px; }
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #fff;
  font: inherit;
  outline: none;
}
input:focus, textarea:focus{
  border-color: rgba(74, 103, 183, 0.65);
  box-shadow: 0 0 0 4px rgba(74, 103, 183, 0.14);
}
.form__hint{ font-size: 12px; margin: 0; color: var(--muted); }

.grid{ display:grid; gap: 12px; }
.grid--1{ grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid--2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* =========================
   Sections
========================= */
.section{ padding: 58px 0; }
.section--tint{ background: var(--brand-tint); }
.section__head{
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.icon{
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  background: rgba(74, 103, 183, 0.10);
  border: 1px solid rgba(74, 103, 183, 0.18);
  margin-bottom: 10px;
  font-size: 20px;
}
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.86);
}
.list li{ margin: 6px 0; }
.link{
  display:inline-flex;
  margin-top: 12px;
  color: var(--brand-dark);
  font-weight: 800;
}
.link:hover{ text-decoration: underline; }

/* Split sections */
.split{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.panel{
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.checks{ display:grid; gap: 10px; margin: 16px 0 18px; }
.check{
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 14px;
  padding: 12px 12px;
  font-weight: 650;
}

.pill-row{ display:flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pill{
  background: rgba(74, 103, 183, 0.10);
  border: 1px solid rgba(74, 103, 183, 0.18);
  color: rgba(15, 23, 42, 0.85);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
}

/* =========================
   Pricing
========================= */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.price__value{
  font-size: 34px;
  font-weight: 900;
  margin: 12px 0 10px;
  letter-spacing: -0.03em;
}
.price__value span{
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.price--featured{
  border-color: rgba(74, 103, 183, 0.35);
  box-shadow: var(--shadow);
  position: relative;
}
.tag{
  position:absolute;
  top: 14px;
  right: 14px;
  background: rgba(74, 103, 183, 0.12);
  border: 1px solid rgba(74, 103, 183, 0.22);
  color: var(--brand-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}

/* =========================
   CTA Section
========================= */
.section--cta{
  background: linear-gradient(135deg, rgba(74, 103, 183, 0.12) 0%, rgba(36, 59, 122, 0.08) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cta__form{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.cta__input{
  min-width: min(520px, 75vw);
}

/* =========================
   Support + FAQ
========================= */
.support-cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.faq{
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 12px 12px;
  background: rgba(255,255,255,0.85);
  margin: 10px 0;
}
.faq summary{ cursor:pointer; font-weight: 800; }

/* =========================
   Contact
========================= */
.contact{ display:grid; gap: 8px; margin-top: 14px; }
.contact__item{ padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.75); border: 1px solid rgba(15, 23, 42, 0.10); }

/* =========================
   Footer
========================= */
.footer{
  background: var(--brand-dark);
  color: #fff;
  padding-top: 38px;
}
.footer__inner{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding-bottom: 26px;
}
.footer__logo{
  height: 40px;
  width: auto;
  /*filter: brightness(0) invert(1);  macht dunkles Logo hell (falls Logo dunkel ist) */
}
.footer__cols{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.footer__col h4{
  margin: 0 0 10px;
  font-size: 14px;
  opacity: .95;
}
.footer__col a{
  display:block;
  padding: 6px 0;
  opacity: .85;
}
.footer__col a:hover{ opacity: 1; text-decoration: underline; }

.footer__bottom{
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 14px 0;
}
.footer__bottom-inner{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  opacity: .9;
}

/* =========================
   Sticky CTA (mobile)
========================= */
.sticky-cta{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: min(520px, calc(100% - 28px));
  background: var(--brand);
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 900;
  text-align:center;
  box-shadow: var(--shadow);
  display: none; /* shown on mobile only */
  z-index: 60;
}
.sticky-cta:hover{ background: #3f5dad; }

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .nav{ display:none; }
  .header__cta{ display:none; }
  .nav-toggle__btn{ display:flex; }

  .hero__inner{
    grid-template-columns: 1fr;
  }
  .hero__card{ justify-content: flex-start; }

  .cards{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .support-cards{ grid-template-columns: 1fr; }

  .cta{ flex-direction: column; align-items: stretch; }
  .cta__form{ justify-content: flex-start; }
  .cta__input{ min-width: 100%; }

  .sticky-cta{ display:block; }
}

@media (max-width: 520px){
  .grid--2{ grid-template-columns: 1fr; }
  .hero__stats{ grid-template-columns: 1fr; }
}

/* =========================
   Technologie-Auswahl
========================= */

.tech-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}

.tech-card{
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease;
}

.tech-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* größere Icons */
.icon--lg{
  width: 56px;
  height: 56px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(74,103,183,0.10);
  border: 1px solid rgba(74,103,183,0.2);
}

/* mobile */
@media (max-width: 900px){
  .tech-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   Desktop Dropdown Navigation
========================= */

.nav__item{
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav__item--dropdown .nav__link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__chev{
  font-size: 12px;
  opacity: .8;
  transform: translateY(1px);
}

.nav__dropdown{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 8px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 100;
}

/* Öffnen: Hover + Tastatur-freundlich */
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__drop-link{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 650;
  color: rgba(15, 23, 42, 0.88);
}

.nav__drop-link:hover,
.nav__drop-link:focus{
  background: rgba(74, 103, 183, 0.08);
  outline: none;
}


/* =========================
   Mobile Drawer Dropdown (details)
========================= */

.nav-drawer__details{
  border-radius: 12px;
}

.nav-drawer__summary{
  list-style: none;
  cursor: pointer;
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-drawer__summary::-webkit-details-marker{
  display: none;
}

.nav-drawer__details[open] .nav-drawer__summary{
  background: rgba(74, 103, 183, 0.08);
}

.nav-drawer__submenu{
  padding: 4px 6px 10px 6px;
}

.nav-drawer__sublink{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.82);
}

.nav-drawer__sublink:hover{
  background: rgba(74, 103, 183, 0.08);
}

/* =========================
   Mobile Drawer Untermenü
========================= */

.nav-drawer__details{
  border-radius: 12px;
}

/* Summary sieht aus wie ein normaler Menüpunkt */
.nav-drawer__summary{
  list-style: none;
  cursor: pointer;
  padding: 12px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.82);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-drawer__summary::-webkit-details-marker{
  display: none;
}

/* Hover/Focus (wie andere Links) */
.nav-drawer__summary:hover,
.nav-drawer__summary:focus{
  background: rgba(74, 103, 183, 0.08);
  outline: none;
}

/* Pfeil drehen wenn offen */
.nav-drawer__chev{
  font-size: 12px;
  opacity: .8;
  transition: transform .15s ease;
}

.nav-drawer__details[open] .nav-drawer__chev{
  transform: rotate(180deg);
}

/* Submenu */
.nav-drawer__submenu{
  padding: 6px 6px 10px 6px;
  display: grid;
  gap: 6px;
}

/* Unterpunkte leicht eingerückt + eigene Hover-Fläche */
.nav-drawer__sublink{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.82);
  background: rgba(74, 103, 183, 0.05);
  border: 1px solid rgba(74, 103, 183, 0.10);

  margin-left: 6px; /* optische Einrückung */
}

.nav-drawer__sublink:hover{
  background: rgba(74, 103, 183, 0.10);
}

/* =========================
   CSS-Modal via :target
========================= */

.modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  z-index: 200;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
}

/* Wenn "angetargetet", wird es sichtbar */
.modal:target{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

.modal__panel{
  position: relative;
  width: min(720px, 100%);
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  transform: translateY(8px);
  transition: transform .15s ease;
}

.modal__panel_geb{
  position: relative;
  width: 90%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  transform: translateY(8px);
  transition: transform .15s ease;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.modal__body{
  overflow: auto;
}

/* kleiner "pop" Effekt */
.modal:target .modal__panel{
  transform: translateY(0);
}

.modal__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.modal__close{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.75);
}

/* =========================
   FAQ Page Layout
========================= */

.faq-layout{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: start;
}

.faq-aside .panel{
  position: sticky;
  top: 92px; /* unter Header */
}

.faq-section{
  margin-bottom: 26px;
}

.faq-section h2{
  margin-bottom: 10px;
}

.pill--link{
  text-decoration: none;
  cursor: pointer;
}
.pill--link:hover{
  background: rgba(74, 103, 183, 0.14);
}

.faq-cta{
  margin-top: 18px;
}

@media (max-width: 980px){
  .faq-layout{
    grid-template-columns: 1fr;
  }
  .faq-aside .panel{
    position: static;
  }
}

/* =========================================================
   Status / Netzstörungen – styles for status.php
   ========================================================= */

.status-banner{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  color: rgba(15, 23, 42, 0.9);
}
.status-banner--ok{
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.08);
}
.status-banner--warn{
  border-color: rgba(245,158,11,0.35);
  background: rgba(245,158,11,0.10);
}
.status-banner--down{
  border-color: rgba(239,68,68,0.35);
  background: rgba(239,68,68,0.10);
}
.status-banner--info{
  border-color: rgba(74,103,183,0.30);
  background: rgba(74,103,183,0.10);
}

.status-layout{
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.status-block{
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}
.status-block__head{
  display: grid;
  gap: 6px;
}

.status-cards{
  display: grid;
  gap: 12px;
}

.status-card__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.status-card__title h3{ margin: 0; }
.status-card__title p{ margin: 4px 0 0; }

.badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid var(--line);
  background: #fff;
  white-space: nowrap;
}
.badge--ok{
  border-color: rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.10);
}
.badge--warn{
  border-color: rgba(245,158,11,0.35);
  background: rgba(245,158,11,0.12);
}
.badge--down{
  border-color: rgba(239,68,68,0.35);
  background: rgba(239,68,68,0.12);
}
.badge--info{
  border-color: rgba(74,103,183,0.35);
  background: rgba(74,103,183,0.12);
}

.meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
  color: rgba(15,23,42,0.82);
  font-size: 14px;
}
.meta strong{ font-weight: 900; }

.updates{
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.updates__head{
  font-weight: 900;
  margin-bottom: 6px;
}
.updates__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.updates__list li{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  align-items: start;
}
.updates__time{
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.updates__msg{
  color: rgba(15, 23, 42, 0.88);
}

.status-side{
  display: grid;
  gap: 12px;
  position: sticky;
  top: 18px;
}
.side-actions{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 980px){
  .status-layout{
    grid-template-columns: 1fr;
  }
  .status-side{
    position: static;
  }
  .updates__list li{
    grid-template-columns: 1fr;
  }
  .updates__time{
    white-space: normal;
  }
}


/* =========================================================
   Status Admin – styles for status_admin.php
   ========================================================= */

.admin-layout{
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 18px;
  align-items: start;
}

.admin-card{ position: sticky; top: 18px; }

.admin-form{
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.admin-form--tight{ margin-top: 10px; }

.admin-check{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(74,103,183,0.06);
}

.admin-services{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 8px;
}
.admin-services__label{
  font-weight: 900;
  margin-bottom: 4px;
}
.admin-services label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-lists{
  display: grid;
  gap: 18px;
}

.admin-section__head{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-cards{
  display: grid;
  gap: 12px;
}

.admin-item__top{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-item__title{
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 6px;
}

.admin-item__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: rgba(15,23,42,0.82);
  font-size: 14px;
}
.admin-item__meta strong{ font-weight: 900; }

.admin-item__actions{
  display: grid;
  gap: 10px;
  min-width: 280px;
}

.admin-inline{
  display: grid;
  gap: 8px;
}
.admin-inline select{
  width: 100%;
}

.admin-details{
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.admin-details summary{
  cursor: pointer;
  font-weight: 900;
}

.admin-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tag{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15,23,42,0.04);
  font-weight: 800;
  font-size: 12px;
}

.admin-updates{
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.admin-updates__head{
  font-weight: 900;
  margin-bottom: 8px;
}
.admin-updates__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.admin-updates__list li{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
}
.admin-updates__time{
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.admin-updates__msg{
  color: rgba(15,23,42,0.88);
}

.admin-flash{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(74,103,183,0.30);
  background: rgba(74,103,183,0.10);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 980px){
  .admin-layout{ grid-template-columns: 1fr; }
  .admin-card{ position: static; }
  .admin-item__actions{ min-width: 0; width: 100%; }
  .admin-updates__list li{ grid-template-columns: 1fr; }
  .admin-updates__time{ white-space: normal; }
}

.btn--danger{
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.35);
  color: rgba(127,29,29,1);
}
.btn--danger:hover{
  background: rgba(239,68,68,0.18);
  transform: translateY(-1px);
}


/* =========================================================
   Bestellung – NUR für bestellung.php
   ========================================================= */


/* ---------- Auswahlbox oben ---------- */
.product-picker{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-pill{
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}

.product-pill:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.product-pill__title{ font-weight: 900; }
.product-pill__hint{
  color: var(--muted);
  font-size: 13px;
}

/* Active States */
#p-internet:checked ~ .product-picker label[for="p-internet"],
#p-tv:checked       ~ .product-picker label[for="p-tv"],
#p-telefon:checked  ~ .product-picker label[for="p-telefon"],
#p-mobile:checked   ~ .product-picker label[for="p-mobile"]{
  border-color: rgba(74,103,183,0.45);
  background: rgba(74,103,183,0.08);
}

/* ---------- Hinweis ---------- */
.order-hint{
  border: 1px solid rgba(74,103,183,0.25);
  background: rgba(74,103,183,0.08);
  border-radius: 16px;
  padding: 14px;
  color: rgba(15, 23, 42, 0.9);
}

#p-internet:checked ~ .order-hint,
#p-tv:checked       ~ .order-hint,
#p-telefon:checked  ~ .order-hint,
#p-mobile:checked   ~ .order-hint{
  display: none;
}

/* ---------- Formular & Produktbereiche ---------- */
.order-form{
  display: grid;
  gap: 14px;
}

.product-section{
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

#p-internet:checked ~ .order-form .internet{ display: block; }
#p-tv:checked       ~ .order-form .tv{ display: block; }
#p-telefon:checked  ~ .order-form .telefon{ display: block; }
#p-mobile:checked   ~ .order-form .mobile{ display: block; }

/* ---------- Kundendaten + Submit ---------- */
.order-form .order-customer,
.order-form button[type="submit"],
.order-form .fineprint{
  display: none;
}

#p-internet:checked ~ .order-form .order-customer,
#p-tv:checked       ~ .order-form .order-customer,
#p-telefon:checked  ~ .order-form .order-customer,
#p-mobile:checked   ~ .order-form .order-customer{
  display: block;
}

#p-internet:checked ~ .order-form button[type="submit"],
#p-tv:checked       ~ .order-form button[type="submit"],
#p-telefon:checked  ~ .order-form button[type="submit"],
#p-mobile:checked   ~ .order-form button[type="submit"]{
  display: inline-flex;
}

#p-internet:checked ~ .order-form .fineprint,
#p-tv:checked       ~ .order-form .fineprint,
#p-telefon:checked  ~ .order-form .fineprint,
#p-mobile:checked   ~ .order-form .fineprint{
  display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .product-picker{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 520px){
  .product-picker{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Bestellung v2 – Accordion Design (bestellung.php)
   ========================================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea{
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  box-sizing: border-box;
}


.orderpage{ max-width: 920px; margin: 0 auto; }

.ordercard{ padding: 18px; }

.orderform{ display: grid; gap: 14px; }

.accordion{ display: grid; gap: 12px; margin-top: 12px; }

.acc{
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.acc__sum{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  background: rgba(74,103,183,0.10);
}
.acc__sum::-webkit-details-marker{ display:none; }

.acc__left{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.acc__icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(74,103,183,0.14);
  border: 1px solid rgba(74,103,183,0.22);
}
.acc__title{
  font-weight: 900;
  font-size: 18px;
}

.acc__right{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.acc__chev{
  font-size: 18px;
  opacity: .8;
  transform: translateY(1px);
}
details[open] .acc__chev{ transform: rotate(180deg); }

:target{
  scroll-margin-top: 200px;
}

.pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.10);
}
.pill--muted{
  border-color: rgba(15,23,42,0.14);
  background: rgba(15,23,42,0.04);
  color: var(--muted);
  font-weight: 800;
}

.acc__body{
  padding: 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.infobar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15,23,42,0.03);
  color: rgba(15,23,42,0.86);
}
.infobar strong{ font-weight: 900; }

.notice{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(245,158,11,0.35);
  background: rgba(245,158,11,0.10);
}

.radio-list{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.radio{
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.radio input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}



/* ---------- Radio Buttons Corporate ---------- */

.radio__dot{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid rgba(15,23,42,0.20);
  display: inline-block;
  position: relative;
  background: #fff;
  transition: all .18s ease;
}

/* Hover */
.radio:hover{
  border-color: rgba(74,103,183,0.35);
  background: rgba(74,103,183,0.04);
}

/* Checked State */
.radio input:checked + .radio__dot{
  border-color: rgb(74,103,183);
  background: rgba(74,103,183,0.10);
}

/* Inner Dot */
.radio input:checked + .radio__dot::after{
  content:"";
  position:absolute;
  inset: 4px;
  border-radius: 999px;
  background: rgb(74,103,183);
}

/* Sanfte Animation */
.radio input:checked + .radio__dot::after{
  animation: radioPop .15s ease-out;
}

@keyframes radioPop{
  from{ transform: scale(.6); opacity:.4; }
  to{ transform: scale(1); opacity:1; }
}


.radio--disabled{
  opacity: .55;
  cursor: not-allowed;
}
.radio--disabled .radio__dot{
  border-color: rgba(15,23,42,0.12);
}

.orderactions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 640px){
  .orderactions{ grid-template-columns: 1fr; }
  .acc__title{ font-size: 16px; }
}

.vdsl-hint{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(74,103,183,0.35);
  background: rgba(74,103,183,0.08);
  color: rgba(15,23,42,0.88);
  font-size: 14px;
  line-height: 1.5;
}
.vdsl-hint strong{
  font-weight: 900;
}

.radio{
  grid-template-columns: 22px 1fr; /* bleibt */
}

.radio__row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.radio__price{
  font-weight: 900;
  white-space: nowrap;
  color: rgba(15,23,42,0.88);
}

@media (max-width: 520px){
  .radio__row{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .radio__price{
    white-space: normal;
  }
}

/* ---------- Checkbox Cards ---------- */
.checklist{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.check{
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.check input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check__box{
  width: 22px;
  height: 22px;
  top: 5px;
  border-radius: 6px;
  border: 2px solid rgba(15,23,42,0.20);
  display: inline-block;
  position: relative;
  background: #fff;
}

.check input:checked + .check__box{
  border-color: rgb(74,103,183);
  background: rgba(74,103,183,0.10);
}

.check input:checked + .check__box::after{
  content:"";
  position:absolute;
  left: 6px;
  top: 0px;
  width: 6px;
  height: 12px;
  border-right: 3px solid rgb(74,103,183);
  border-bottom: 3px solid rgb(74,103,183);
  transform: rotate(45deg);
}

.check:hover{
  border-color: rgba(74,103,183,0.35);
  background: rgba(74,103,183,0.04);
}

.check__row{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.check__title{
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
}

.check__desc{
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.check__price{
  font-weight: 900;
  white-space: nowrap;
  color: rgba(15,23,42,0.88);
}

@media (max-width: 520px){
  .check__row{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .check__price{
    white-space: normal;
  }
}

.check__once{
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.14);
  background: rgba(15,23,42,0.04);
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.check__title--flex{
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.addon-info{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.addon-info__icon{
  width: 16px;
  height: 16px;
  display: block;
}

.acc__toggle{
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.acc__check{
  position: absolute;
  opacity: 0;
}

.acc__box{
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(15,23,42,0.25);
  position: relative;
  background: #fff;
}

.acc__check:checked + .acc__box{
  border-color: rgb(74,103,183);
  background: rgba(74,103,183,0.12);
}

.acc__check:checked + .acc__box::after{
  content:"";
  position:absolute;
  left:6px;
  top:2px;
  width:6px;
  height:12px;
  border-right:3px solid rgb(74,103,183);
  border-bottom:3px solid rgb(74,103,183);
  transform: rotate(45deg);
}



/* Radios/Checkboxes dürfen NIE width:100% haben */
input[type="radio"],
input[type="checkbox"]{
  width: auto !important;
  max-width: none !important;
}

/* Labels als Positionierungs-Container */
.radio,
.check{
  position: relative;
}

/* Inputs “unsichtbar”, aber ohne riesige Box */
.radio input,
.check input{
  position: absolute;
  left: 0;
  top: 0;
  width: 1px !important;
  height: 1px !important;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Galerie im Modal ---------- */
.addon-gallery{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  max-width: 420px; /* optional – begrenzt Breite */
}

.addon-gallery a{
  display: block;
}

.addon-gallery img{
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: zoom-in;
}

.addon-gallery img:hover{
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ---------- Lightbox (Overlay) ---------- */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.lightbox.is-active{ display: flex; }

.lightbox__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.75);
}

.lightbox__content{
  position: relative;
  z-index: 2;
  max-width: 92%;
  max-height: 86%;
  display: grid;
  place-items: center;
}

#lightboxImage{
  max-width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.4);
}

/* Close Button */
.lightbox__close{
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

/* Nav Buttons */
.lightbox__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.lightbox__nav--prev{ left: -14px; }
.lightbox__nav--next{ right: -14px; }

.lightbox__nav:hover{
  background: rgba(74,103,183,0.55);
  border-color: rgba(74,103,183,0.65);
}

@media (max-width: 520px){
  .lightbox__nav--prev{ left: 8px; }
  .lightbox__nav--next{ right: 8px; }
}

.lightbox__counter{
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(74,103,183,0.85);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

// bestellung.php - Telefon

.radio__desc{
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.radio-group{
  display: grid;
  gap: 12px; /* Abstand zwischen den Zeilen */
}

select:disabled{
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

/* Warenkorb */

.warenkorb{
  border-bottom: 5px double black;
}

.warenkorb__titel{
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  border-bottom: 1px solid #D1D1D1;
}

.warenkorb__produkte-gruppe{
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid black;
}

.warenkorb__titel-rechts{
  text-align: right;
}

.warenkorb__preis{
  text-align: right;
}

.warenkorb__preis-total{
  text-align: left;
  font-weight: bold;
}

.warenkorb__preis-total-wert{
  text-align: right;
  font-weight: bold;
}

.warenkorb__produkt{
  font-weight: bold;
  text-align: left;
}

.warenkorb__produkt_muted{
  text-align: left;
  padding-left: 10px;
}

.warenkorb__del-icon{
  margin-left: 10px;
  margin-top: -10px;
  width: 15px;
  text-align: center;
}

.warenkorb__trenn{
  border-bottom: 1px solid #D1D1D1;
}

.warenkorb__bem{
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
  white-space: normal;
  text-align: left;
  padding-left: 10px;
}

.pfeil_down{
  justify-content: center;
  align-items: center;
  position: flex;
  font-size: 50px;
  font-weight: 800;
  text-align: center;
  color: rgba(74,103,183,0.85);
}

.lineitem{
  display:grid;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  grid-template-columns: 1fr auto;
}

.lineitem__zub__sub{
  padding: 6px 0;
  margin-top:-1em;
}

.lineitem__links{
  display:grid;
  justify-content: space-between;
  font-weight: 900;
  white-space: nowrap;
  text-align: left;
  width: 75%;
}

.lineitem__einmalig{
  display:grid;
  justify-content: space-between;
  font-weight: 900;
  white-space: nowrap;
  text-align: right;
}

.lineitem__price{
  display:grid;
  justify-content: space-between;
  font-weight: 900;
  white-space: nowrap;
  text-align: right;
}

.lineitem__muted{
  color: var(--muted);
  font-weight: 400;
  white-space: normal;
  text-align: left;
  margin-left: 1em;
}

.lineitem__bem{
  color: var(--muted);
  font-weight: 400;
  font-style: italic;
  white-space: normal;
  text-align: left;
  margin-left: 2em;
}

.totals{
  display:grid;
  gap: 8px;
}
.totals__row{
  display:flex;
  justify-content: space-between;
  gap: 12px;
}

.lineitem__price,
.check__price,
.totals strong{
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.portierung{
  display:grid;
  margin-top: 1em;
}

.portierung__titel{
  display:grid;
  padding: 10px 0;
}

/* Header actions (Cart + CTA) */
.header__actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Cart button */
.cart{
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.cart:hover{
  background: rgba(74, 103, 183, 0.08);
}

.cart__icon{
  width: 22px;
  height: 22px;
  color: rgba(15, 23, 42, 0.78);
}

.cart__badge{
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* --- Zonenliste (Dropdown/Accordion) --- */
.zone-section{ margin-top: 14px; }
.zone-head{ margin-bottom: 12px; }

.zone-accordion{ display: grid; gap: 10px; }

.zone-acc{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.zone-acc__sum{
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  font-weight: 800;
}

.zone-acc__sum::-webkit-details-marker{ display:none; }

.zone-acc__chev{
  opacity: .7;
  transition: transform .18s ease;
}

.zone-acc[open] .zone-acc__chev{ transform: rotate(180deg); }

.zone-acc__body{
  padding: 0 14px 14px 14px;
  border-top: 1px solid var(--line);
}

.zone-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
}

.zone-tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(74,103,183,.25);
  background: rgba(74,103,183,.08);
  font-size: 13px;
  font-weight: 700;
  color: rgba(15,23,42,.85);
}

@media (max-width: 520px){
  .zone-acc__sum{ padding: 12px; }
  .zone-acc__body{ padding: 0 12px 12px; }
  .zone-tag{ font-size: 12.5px; }
}

/* --- Signature Pad --- */
.sig{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.sig__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 10px;
}

.sig__title{
  font-weight: 900;
}

.sig__pad{
  border: 1px dashed rgba(74,103,183,.45);
  background: rgba(74,103,183,.06);
  border-radius: 14px;
  overflow:hidden;
}

.sig__canvas{
  display:block;
  width: 100%;
  height: 180px; /* Höhe der Unterschrift */
  cursor: crosshair;
}

@media (max-width: 520px){
  .sig__canvas{ height: 160px; }
}