:root{
  --bg: #f4f7fb;
  --fg: #111827;
  --brand: #b5445d;
  --brand-2: #ffffff33;
  --muted: #6b7280;
  --card: #ffffff;
  --ring: rgba(0,147,211,.25);
  --danger: #d22;
  --hdr-gap: 12px;
}
*{
  box-sizing: border-box;
}
html,body{
  margin: 0;
  padding: 0;
  font-family: stratos,-apple-system,Segoe UI,Roboto,Ubuntu,Helvetica,Arial,sans-serif;
  color: var(--fg);
  background: #f6f7fb;
  scroll-behavior: smooth;
}
body{
  padding-bottom: 92px;
}
a{
  color: var(--brand);
  text-decoration: none;
}
/* Floating Header */
.floating-header{
  position: sticky;
  top: 15px;
  z-index: 2000;
}
.floating-header .header-inner{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  position: relative;
  justify-content: space-between;
}
/* Brands */
.floating-header .brand{
  display: flex;
  align-items: center;
}
.floating-header .brand img{
  display: block;
}
.floating-header .logo-mitel {
  height: 35px;
}
.floating-header .logo-plusnet {
  height: 60px;
}
.floating-header .brand-left, .floating-header .brand-right{
  flex: 0 0 auto;
}
/* Nav links (desktop) */
.floating-header .nav-links{
  display: flex;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.floating-header .nav-links a{
  color: #0f172a;
  text-decoration: none;
}
.floating-header .nav-links a:hover{
  text-decoration: underline;
}
/* Hamburger button (hidden desktop) */
.nav-toggle{
  display: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 0;
  cursor: pointer;
}
.nav-toggle:focus{
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}
/* (entfernt) — hier standen zuvor versehentlich globale Mobile-Regeln */
/* Container & UI */
.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 50px 0px 50px 0px;
}
.btn{
  font-family: stratos;
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  background-color: var(--brand);
  color: #fff;
  border:0;
  border-radius: 999px;
  padding: 14px 18px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(181,68,93,.24);
  transition: .2s;
}
.btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(181,68,93,.38);
}
.btn.secondary{
  background: var(--brand-2);
  box-shadow: 0 8px 24px rgba(0,106,153,.24);
}
.badge{
  display: inline-block;
  background: var(--brand-2);
  color: #ececec;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .85rem;
}
.hero{
  background-color: #c3dbe7;
  background-size: cover;
  color: #0f172a;
  padding: 48px 0 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
  margin-top: calc(-9 * var(--hdr-gap));
  padding-top: calc( var(--hdr-gap) + 110px );
}
.hero h1{
  font-size: clamp(28px,4vw,46px);
  line-height: 1.1;
  margin: 12px 0 8px;
  color: #fff;
  font-weight: 100;
}
.hero p{
  color: #ececec;
  max-width: 680px;
  font-size: 1.05rem;
}
.hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}
.hero .container{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-box{
  background: rgb(15 111 157 / var(--tw-bg-opacity, 1));
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  width: 100%;
  margin: 0 auto;
}
.hero .hero-cta, .hero .countdown {
  justify-content: center;
  text-align: center;
  width: 100%;
}
.countdown{
  margin-top: 45px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .content-box p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.tile{
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 12px 16px;
  border-radius: 12px;
  min-width: 120px;
}
.tile b{
  font-size: 1.25rem;
  color: var(--brand);
  font-weight: 700;
}
.tile small{
  display:block;
  color:#0f6f9d;
}
.grid{
  display: grid;
  gap: 10px;
}
.benefits{
  margin: 28px 0;
}
.benefits ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.benefits li{
  background:var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.benefits svg{
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin-top: 0;
}
.card{
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
}
.form{
  display: grid;
  gap: 12px;
}
.field{
  display: grid;
  gap: 6px;
}
.input, select, textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  outline: none;
}
.input:focus, select:focus, textarea:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
}
.row{
  display: grid;
  gap: 12px;
}
.row.cols-2{
  grid-template-columns: 1fr 1fr;
}
.row.cols-3{
  grid-template-columns: 1fr 1fr 1fr;
}
.trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  color: #ececec;
  text-align: center;
}
.trust .logo{
  height: 15px;
  width: auto;
  opacity: .9;
  filter: none;
}
.section{
  padding: 0 0;
}
h2{
  font-size: clamp(22px,3vw,32px);
  margin: 0 0 10px;
  font-weight: 100;
}
h3{
  margin: 0 0 6px;
}
.list{
  display: grid;
  gap: 10px;
}
.sticky-cta{
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.sticky-cta .wrap{
  background: #0f6f9d;
  border: 1px solid #0f6f9d;
  color: #e2e8f0;
  border-radius: 999px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  pointer-events: auto;
}
.sticky-cta .btn{
  padding: 10px 14px;
  border-radius: 999px;
}
.sticky-cta .close{
  background:transparent;
  border: 0;
  color: #e2e8f0;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 8px 0px 8px 8px;
  border-radius: 999px;
}
.sticky-cta .close:hover{
  background: rgba(255,255,255,.06);
  color: #e2e8f0;
}
.faq details{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary{
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq summary::-webkit-details-marker{
  display: none;
}
.faq summary::after{
  content:'▾';
  margin-left: auto;
  transition: transform .25s ease;
  opacity: .8;
}
.faq details[open] summary::after{
  transform:rotate(-180deg);
}
.faq .faq-content{
  padding: 5px 16px 14px;
}
.faq .faq-content > p, .faq .faq-content > div, .faq .faq-content > ol, .faq .faq-content > ul{
  margin: 0;
}
footer{
  padding: 24px 0;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
/* Highlight section */
.highlight-container {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  min-height: 520px;
  margin: 2.2% 0 1.5% 0;
}
.highlight-image {
  position:absolute;
  top: 0;
  left: 20%;
  width: 30%;
  height: 100%;
  background:url('../images/Beratung.png') no-repeat center left;
  background-size: cover;
  background-position: inherit;
  border-radius: 10px;
  z-index: 0;
}
.highlight-content {
  position:relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 115%;
  padding: 40px 0px 40px 435px;
}
.highlight-box {
  background: #eef7fa;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.highlight-step {
  display:block;
  color: #0f6f9d;
  font-size: .9rem;
  margin-bottom: 6px;
}
.highlight-box h2 {
  margin: 0 0 6px;
  font-size: 1.7rem;
  color: #0b1f2a;
}
.highlight-box p {
  margin: 0 0 12px;
  color: #334155;
  line-height: 1.5;
}
.highlight-box .btn {
  background-color:var(--brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor:pointer;
}
.highlight-box .btn:hover {
  background-color: #9b3a52;
}

/* benefits/form blocks */
.benefits-wrapper {
  background: #f6f7fb;
  padding: 0;
}
.formular-wrapper {
  background: var(--brand);
  padding: 80px 0;
  display: flex;
  justify-content: center;
}
.formular-wrapper #formular {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 1120px;
}
/* Desktop: make nav more compact */
.floating-header .nav-links{
  gap: 20px;
  font-size: 0.95rem;
}
@media (max-width: 1200px){
  .floating-header .nav-links{
    gap: 18px;
    font-size: 0.93rem;
  }
}
@media (max-width: 1050px){
  .floating-header .nav-links{
    gap: 14px;
    font-size: 0.9rem;
  }
}
/* Logos a bit smaller on desktop */
.floating-header .logo-mitel {
  height: 28px;
}
.floating-header .logo-plusnet {
  height: 52px;
}
/* Mobile adjustments */
@media (max-width: 900px){
  /* Smaller logos on mobile */
  .floating-header .logo-mitel{
    height: 24px;
  }
  .floating-header .logo-plusnet{
    height: 36px;
  }
  /* Reorder so hamburger is rightmost; plusnet sits left of it */
  .floating-header .brand-left{
    order: 1;
  }
  .floating-header .brand-right{
    order: 2;
    margin-left: 0;
  } /* remove auto push */
  .nav-toggle{
    order: 3;
  } /* push to far right */
  .container {
    padding: 0;
  }
  .highlight-box {
    border-radius: 16px;
  }
  .section.faq {
    padding: 0px 24px 20px 24px;
  }
  body {
    padding-bottom: 0px;
  }
  footer {
    text-align: center;
    padding: 20px 24px 20px 24px;
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .highlight-container {
    flex-direction: column;
    min-height: auto;
    margin-top: 0;
    border-radius: 0;
  }
  .highlight-image {
    position: relative;
    width: 100%;
    height: 240px;
    left: 0;
    border-radius: 0;
  }
  .highlight-content {
    width: 100%;
    padding: 24px;
  }
  .formular-wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  aside.card {
    margin-left: 24px;
    margin-right: 24px;
  }
  .hero {
    padding: 135px 0px 30px 0px;
  }
  .hero .container {
    padding: 0px 24px 0px 24px;
  }
  .hero .content-box {
    padding: 40px 18px 40px 18px;
  }
  .benefits-wrapper {
    padding: 0px 24px 0px 24px;
  }
}
/* Container als Grid definieren */
.hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Zwei exakt gleich große Spalten */
  gap: 12px;
  margin-top: 35px;
  width: 100%;
  max-width: 540px; /* Begrenzung, damit die Buttons auf großen Screens nicht riesig wirken */
  margin-left: auto;
  margin-right: auto;
}

/* Die direkten Links (Button 1 & 2) füllen ihre Zelle komplett */
.hero-cta > a.btn {
  width: 100%;
  justify-content: center;
  margin: 0; /* Sicherheitshalber Margin entfernen */
}

/* Das Div um den 3. Button überspannt beide Spalten */
.hero-cta > div {
  grid-column: 1 / -1; /* Geht von der ersten bis zur letzten Linie */
  width: 100%;
}

/* Der 3. Button (Secondary) füllt das Div komplett aus */
.hero-cta > div .btn {
  width: 100%;
  justify-content: center;
}
/* Mobile menu panel */
@media (max-width: 900px){
  .floating-header{
    top: 0px;
  }
  .floating-header .header-inner{
    padding: 17px 12px;
    gap: 10px;
    border-radius: 0;
  }
.hero-cta {
    display: flex;          /* Überschreibt das Grid von oben */
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 100%;        /* Grid-Beschränkung aufheben */
    width: 100%;
  }

  /* Alle Buttons und das Div auf volle Breite ziehen (bis max-width) */
  .hero-cta > a.btn, 
  .hero-cta > div,
  .hero-cta > div .btn {
    width: 100%;
    max-width: 320px; /* Optimale Breite für Mobile Buttons */
  }
}
/* === Sticky-CTA nur für große Bildschirme === */
@media (max-width: 900px) {
  .sticky-cta {
    display: none !important;
  }
}
@media (max-width: 840px){
  .row.cols-2, .row.cols-3{
    grid-template-columns: 1fr;
  }
  .hero-cta{
    flex-direction: column;
  }
}
@supports (padding-top: env(safe-area-inset-top)) {
  @media (max-width: 900px){
    .floating-header { top: 0; }
    .floating-header .header-inner { padding-top: calc(12px + env(safe-area-inset-top)); }
  }
}
/* ========= NAVIGATION: Desktop sichtbar, Mobile via Burger ========= */
@media (min-width: 901px){
  .nav-toggle{ display: none !important; }
  .floating-header .nav-links{
    display: flex !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (max-width: 900px){
  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .floating-header .nav-links{
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    transform: none;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
    padding: 10px;
    flex-direction: column;
    gap: 8px;
    z-index: 2500;
  }
  .floating-header.open .nav-links{ display: flex; }
  .nav-backdrop[hidden]{ display: none; }
  .nav-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.25);
    z-index: 2400;
  }
  .highlight-box p a.btn{
    display: block;        /* eigener Block */
    width: max-content;    /* so breit wie der Inhalt */
    margin-left: auto;     /* zentriert nur das a */
    margin-right: auto;
  }
}
.muted{
  color: var(--muted);
}
/* === Pricing section === */

.price-container{
  padding: 0px 0px 60px 0px;
}
.price-table{
  width: 100%;
  border-collapse: collapse;
}
.price-table th, .price-table td{
  padding: 10px 10px;
  border-bottom: 1px solid #e5e7eb;
}
.price-table th{
  text-align:left;
  font-weight: 600;
  color: #0f172a;
  font-size: .95rem;
}
.price-table td:last-child, .price-table th:last-child{
  text-align: right;
}
.price-table tbody tr.included td{
  background: #f8fafc;
}
.included {
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
}
.price-notes{
  margin-top: 24px;
}
.note-list{
  margin: 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #334155;
}
.note-list li{
  line-height: 1.45;
}
@media (max-width: 900px){
  .price-grid{ grid-template-columns: 1fr; }
  .price-container{ padding: 0 24px 24px 24px; }
}
#vorteile {
  scroll-margin-top: 150px;
}
#preise {
  scroll-margin-top: 200px;
}
#warum {
  scroll-margin-top: 200px;
}
#formular-rueck {
  background-color: #c3dbe7;
  scroll-margin-top: 200px;
}
.checknw {
  margin: 6px 0px 0px 5px;
}
#callbackForm2 .btn {
  width: 24%;             /* Button nimmt nur so viel Platz wie er braucht */
  padding-left: 32px;      /* Optional: Macht ihn optisch etwas breiter/wichtiger */
  padding-right: 32px;
  justify-content: center;
  margin-top: 0;           /* Margin macht jetzt der Container */
}
/* Fehler-Status für Inputs */
.input.error, 
select.error, 
textarea.error {
  border-color: var(--danger) !important;
  background-color: #fff5f5; /* Ganz leichtes Rot im Hintergrund */
  box-shadow: 0 0 0 3px rgba(221, 34, 34, 0.15) !important;
}

/* Damit die Checkbox auch rot wird */
input[type="checkbox"].error {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
}
/* === Neues Layout für die Preis-Sektion === */

.split-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr; /* Text: 40%, Tabelle: 60% (ungefähr) */
  gap: 40px;       /* Schöner großer Abstand zwischen Text und Tabelle */
  align-items: center; /* Vertikal zentriert (oder 'start' für oben bündig) */
  padding: 40px;   /* Etwas mehr Innenabstand sieht edler aus */
}

.price-intro h2 {
  margin-top: 0;
  line-height: 1.2;
}

.price-intro p {
  margin-bottom: 0; /* Kein unnötiger Abstand nach unten */
  line-height: 1.6;
}

/* Tabelle soll sich den verfügbaren Platz nehmen, aber nicht mehr */
.price-table-wrapper {
  width: 100%;
}

/* MOBILE ANPASSUNG: Unter 900px wieder untereinander */
@media (max-width: 900px) {
  .split-card {
    grid-template-columns: 1fr; /* Alles untereinander */
    gap: 24px;
    padding: 24px; /* Weniger Padding auf Mobile */
  }
  
  .price-intro {
    text-align: center; /* Auf Handy sieht zentrierter Intro-Text oft besser aus */
    margin-bottom: 10px;
  }
}
/* === Tabelle: Zentriert und kompakt === */
.price-table {
  width: 100%;           /* Nimmt sich Platz, wenn es eng wird (Handy) */
  max-width: 650px;      /* STOPPT auf großen Bildschirmen -> Lücke wird klein! */
  margin: 0 auto;        /* Zentriert die Tabelle in der weißen Box */
  border-collapse: collapse;
}

.price-table th, .price-table td {
  padding: 12px 15px;    /* Etwas mehr Luft sieht hochwertiger aus */
  border-bottom: 1px solid #e5e7eb;
}

.price-table th {
  text-align: left;
  font-weight: 600;
  color: #0f172a;
}

.price-table td:last-child, .price-table th:last-child {
  text-align: right;     /* Preise rechtsbündig */
}

/* Zebrastreifen für bessere Lesbarkeit der inklusiven Leistungen */
.price-table tbody tr.included td {
  background: #f8fafc;
}
.included {
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
}
.priceact {
  padding: 40px 0px 50px 0px;
  border: 5px solid var(--brand);
}
/* === Hinweise INNERHALB der Preis-Box === */
.price-notes-internal {
  background-color: #f3f5f7; /* Leichtes Grau zur Absetzung */
  border-radius: 12px;       /* Abgerundete Ecken */
  padding: 24px;             /* Innenabstand */
  margin: 40px auto 0 auto;  /* Abstand zur Tabelle nach oben, zentriert (auto) */
  max-width: 1000px;          /* Genauso breit wie die Tabelle darüber */
  font-size: 0.95rem;        /* Schrift minimal kleiner für "Kleingedrucktes"-Look */
}

.price-notes-internal h3 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--brand);       /* Optional: Überschrift im Marken-Rot */
}

/* Anpassung der Liste für die interne Box */
.price-notes-internal .note-list {
  padding-left: 18px;
  margin: 0;
}

/* Mobile Optimierung */
@media (max-width: 900px) {
  .price-notes-internal {
    width: 100%;
    margin-top: 30px;
    padding: 20px;
  }
}