/*
Theme Name: Twenty Twenty-Three Child
Template: twentytwentythree
*/

/* =========================
   01 VARIABLEN
========================= */
:root {
  --blue: #002b6c;
  --blue2: #005bd3;
  --yellow: #ffc400;
  --light: #f6f8fb;
  --border: #e8edf4;
  --text: #002b6c;
  --max: 1440px;
  --header-height: 86px;
}

/* =========================
   02 BASIS
========================= */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  color: var(--text);
  background: #fff;
}

.wp-site-blocks {
  padding: 0;
}

.wp-block-post-title {
  display: none;
}

/* =========================
   03 HEADER
========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 9999;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(226,230,238,0.7);

  box-shadow:
    0 1px 0 rgba(0,0,0,0.03),
    0 10px 30px rgba(0, 43, 108, 0.05);
}

.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-main {
  padding-top: var(--header-height);
}

/* =========================
   04 LOGO
========================= */
.logo {
  color: var(--blue);
  text-decoration: none;
}

.logo-main {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.logo-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
}

/* =========================
   05 NAVIGATION
========================= */
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--blue);
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.nav-button {
  background: var(--blue);
  color: #fff !important;
  padding: 13px 24px;
  border-radius: 6px;
}

/* =========================
   06 ALLGEMEINE ICONS
========================= */
.icon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================
   07 HERO / BANNER
========================= */
.hero {
  background: var(--light);
}

.hero-content {
  max-width: var(--max);
  min-height: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 44% 56%;
}

.hero-text {
  padding: 72px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  margin: 0 0 26px;
  font-size: clamp(42px, 4vw, 66px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--blue);
}

.hero-text h1 span {
  color: var(--blue2);
  font-weight: 700;
}

.hero-text h2 {
  margin: 0 0 32px;
  font-size: clamp(23px, 1.9vw, 28px);
  line-height: 1.18;
  font-weight: 700;
}

.hero-text p {
  margin: 0 0 16px;
  max-width: 560px;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.45;
  font-weight: 500;
}

/* =========================
   08 HERO BUTTON-BEREICH
========================= */
.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 560px;
  margin: 32px 0 20px;
}

/* Hero Button Icons sauber ausrichten */
.card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Icon Größe im Hero größer */
.card-button .icon {
  width: 28px;
  height: 28px;
}

/* Check unter Buttons */
.note .icon {
  width: 18px;
  height: 18px;
  color: var(--blue2);
}

/* =========================
   09 BUTTON-KARTEN
========================= */
.card-button {
  min-height: 76px;
  padding: 18px 20px;
  border: 2px solid var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 43, 108, 0.10);
}

.card-button.primary {
  background: var(--blue);
  color: #fff;
}

.card-button.yellow {
  background: var(--yellow);
  color: var(--blue);
  border-color: var(--yellow);
}

.card-button.primary .icon {
  color: #fff;
}

.card-button.yellow .icon {
  color: var(--blue);
}

/* =========================
   10 HINWEIS UNTER BUTTONS
========================= */
.note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 0 !important;
  font-size: 15px !important;
  font-weight: 600;
}

/* =========================
   11 HERO-BILD
========================= */
.hero-image {
  min-height: 600px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* =========================
   12 BENEFITS-LEISTE
========================= */
.benefits {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: #f3f5f9;
}

/* =========================
   13 BENEFIT-EINZELBOX
========================= */
.benefits > div {
  min-height: 64px;
  padding: 8px 22px;
  border-right: 1px solid #d6dbe5;
  display: flex;
  align-items: center;
  gap: 15px;
}

.benefits > div:first-child {
  padding-left: 0;
}

.benefits > div:last-child {
  padding-right: 0;
  border-right: none;
}

/* =========================
   14 BENEFIT ICON-KREIS
========================= */
.icon-wrap {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   15 BENEFIT ICON IM KREIS
========================= */
.icon-wrap svg {
  width: 31px;
  height: 31px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================
   16 BENEFIT TEXT
========================= */
.benefits .text {
  display: block;
}

.benefits .text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--blue);
}

.benefits .text span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  color: #2f3f58;
}

/* =========================
   BENEFITS 2 – UNTERE LEISTE
========================= */
.benefits-2 {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e6ee;
  background: #fff;
}

/* linke Seite */
.benefits-2 .left {
  font-size: 18px;
  color: #5a6b85;
}

.benefits-2 .left strong {
  color: var(--blue);
  font-weight: 700;
}

/* rechte Seite */
.benefits-2 .right {
  display: flex;
  gap: 26px;
  font-size: 18px;
  color: #5a6b85;
}

/* check styling */
.benefits-2 .right span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* =========================
   BENEFITS 2 – MOBILE
========================= */
@media (max-width: 900px) {
  .benefits-2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .benefits-2 .right {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .benefits-2 .right span {
    width: 100%;
    border-bottom: 1px solid #e2e6ee;
    padding-bottom: 10px;
  }

  .benefits-2 .right span:last-child {
    border-bottom: none;
  }
}

/* =========================
   17 SEKTIONEN
========================= */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1px 38px 80px;
}

.section h3 {
  margin: 0;
  font-size: clamp(36px, 3vw, 46px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.6px;
}

/* =========================
   18 RESPONSIVE TABLET
========================= */
@media (max-width: 1100px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits > div:nth-child(2) {
    border-right: none;
  }
}

/* =========================
   19 RESPONSIVE MOBIL
========================= */
@media (max-width: 900px) {

  .site-header {
    position: relative;
    height: auto;
  }

  .site-main {
    padding-top: 0;
  }

  .header-inner {
    padding: 22px;
    flex-direction: column;
    gap: 18px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-text {
    padding: 48px 24px;
  }

  .hero-image {
    min-height: 360px;
  }

  .benefits {
    padding: 22px 24px;
  }

  .benefits > div {
    border-right: none;
    padding: 16px 10px;
  }
}

/* =========================
   20 RESPONSIVE KLEIN
========================= */
@media (max-width: 600px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .benefits > div {
    border-bottom: 1px solid #d5dbe5;
  }

  .benefits > div:last-child {
    border-bottom: none;
  }
}

/* =========================
   21 SO FUNKTIONIERT'S
========================= */
.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue2);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-head p {
  margin: 14px 0 0;
  font-size: 19px;
  line-height: 1.45;
  color: #40506a;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  padding: 30px 24px;
  background: #fff;
  border: 1px solid #e2e6ee;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 43, 108, 0.06);
}

.step-number {
  margin-bottom: 24px;
  color: var(--blue2);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.step-card h3 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 21px;
  line-height: 1.2;
}

.step-card p {
  margin: 0;
  color: #40506a;
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* =========================
   STEPS MIT HINTERGRUND
========================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--light);
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
}

.step-card .overlay {
  background: linear-gradient(
    to top,
    rgba(0, 43, 108, 0.55),
    rgba(0, 43, 108, 0.1)
  );
}

/* dunkler Overlay für Lesbarkeit */
.step-card .overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 43, 108, 0.75),
    rgba(0, 43, 108, 0.2)
  );
}

/* Inhalt */
.step-card .content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
}

.step-number {
  font-size: 66px;
  font-weight: 800;
  margin-bottom: 18px;
  color: #ffc400;
}

.step-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

/* Hover leicht */
.step-card:hover {
  transform: translateY(-4px);
  transition: 0.2s ease;
}

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

@media (max-width: 600px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* =========================
   WORKFLOW / PROGRESS
========================= */
.workflow {
  position: relative;
  margin: 0 0 34px;
  max-width: 1440px;
}

.workflow-line {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 4px;
  background: #d6dbe5;
  border-radius: 99px;
}

.workflow-line span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--blue2);
  border-radius: 99px;
  transition: width 0.35s ease;
}

.workflow-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.workflow-steps div {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 3px solid #d6dbe5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 800;
  z-index: 2;
}

.workflow-steps div.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.workflow-steps div.done {
  background: var(--blue2);
  border-color: var(--blue2);
  color: #fff;
}

/* =========================
   TEXT-BEREICH UNTER STEPS
========================= */
.how-text {
  max-width: 1440px;
  margin-top: 46px;
  padding: 20px;
  background: #f3f5f9;
  border-radius: 16px;
}

.how-text h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 2.4vw, 40px);
  line-height: 1.15;
  color: var(--blue);
}

.how-text p {
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
  color: #2f3f58;
}

.how-text mark {
  background: var(--blue);
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
}

/* =========================
   22 LEISTUNGEN SECTION
========================= */
.services-section {
  background: #fff;
}

/* =========================
   23 LEISTUNGEN WORKFLOW
========================= */
.services-workflow {
  max-width: 1440px;
  margin-bottom: 38px;
}

.service-points div {
  width: 44px;
  height: 44px;
  font-size: 13px;
}

.service-points .orange {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--blue);
}

/* =========================
   24 LEISTUNGEN KACHELRASTER
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: 14px;
  align-items: stretch;
}

/* =========================
   25 LEISTUNGEN KACHELN BASIS
========================= */
.service-tile {
  background: var(--blue);
  color: #fff;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  min-height: 100%;
}

/* =========================
   26 KACHELGRÖSSEN
========================= */
.tile-large {
  grid-column: span 3;
  grid-row: span 2;
}

.tile-medium {
  grid-column: span 3;
  grid-row: span 1;
}

.tile-small {
  grid-column: span 2;
  grid-row: span 1;
  background: var(--blue);
}

.tile-mini {
  grid-column: span 1;
  grid-row: span 1;
  background: var(--yellow);
}

/* =========================
   27 KACHEL TYPOGRAFIE
========================= */
.tile-number {
  margin-bottom: auto;
  font-size: 14px;
  font-weight: 1440;
  opacity: 0.75;
}

.service-tile h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.service-tile p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,0.85);
}

/* =========================
   28 MOBILE LEISTUNGEN
========================= */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }

  .tile-large,
  .tile-medium,
  .tile-small,
  .tile-mini {
    grid-column: span 1;
    grid-row: auto;
    min-height: 180px;
  }

  .tile-mini {
    min-height: 90px;
  }

  .service-points {
    gap: 8px;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-tile {
    min-height: 170px;
  }

  .tile-mini {
    display: none;
  }
}

/* =========================
   PREISE / PRICING TABLE
========================= */
.pricing-table {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
}

/* SPALTEN */
.pricing-col {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e2e6ee;
}

.pricing-col:last-child {
  border-right: none;
}

/* FEATURE SPALTE */
.features {
  background: #f3f5f9;
  font-weight: 600;
}

.feature {
  padding: 16px 18px;
  border-bottom: 1px solid #e2e6ee;
}

/* PLAN HEADER */
.plan-head {
  padding: 20px;
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.plan-head h3 {
  margin: 0;
  font-size: 18px;
}

/* CELLS */
.cell {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid #e2e6ee;
}

/* HOVER ZEILEN */
.pricing-table .cell:hover,
.pricing-table .feature:hover {
  background: #eef2f8;
}

/* HIGHLIGHT PLAN */
.highlight .plan-head {
  background: var(--blue2);
}

/* ENTERPRISE */
.enterprise .plan-head {
  background: var(--yellow);
  color: var(--blue);
}

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

  .pricing-col {
    border-right: none;
    margin-bottom: 20px;
  }

  .features {
    display: none;
  }

  .cell {
    display: flex;
    justify-content: space-between;
    text-align: left;
  }
}

/* =========================
   VIDEO BLOCK
========================= */
.video-wrapper {
  max-width: 1440px;
  margin: 40px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,43,108,0.12);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   KONTAKT FORM
========================= */
.form-wrapper {
  max-width: 720px;
  margin-top: 30px;
}

/* Inputs */
.wpforms-form input,
.wpforms-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #d6dbe5;
  font-size: 15px;
}

/* Fokus */
.wpforms-form input:focus,
.wpforms-form textarea:focus {
  outline: none;
  border-color: var(--blue2);
}

/* Button */
.wpforms-form button {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* Hover */
.wpforms-form button:hover {
  background: var(--blue2);
}

/* =========================
   BRAND BAR / TRENNBALKEN
========================= */
.brand-bar {
  width: 100%;
  background: var(--blue);
  padding: 22px 0;
}

.brand-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

/* Text */
.brand-text {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-logos {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.85;
}

/* =========================
   BRAND BAR 5 / TRENNBALKEN 5
========================= */
.brand-bar5 {
  width: 100%;
  background: var(--yellow);
  padding: 22px 0;
}

.brand-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

/* Text */
.brand-text {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-logos {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.85;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: var(--blue);
  color: #fff;
  margin-top: 80px;
}

/* INNER */
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 38px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* SPALTEN */
.footer-col h3 {
  margin-bottom: 38px;
  font-size: 16px;
  font-weight: 800;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  margin: 6px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

/* BOTTOM */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  padding: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =========================
   SICHERHEITSSEITE
========================= */
.security-page {
  padding-top: 0;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.security-card {
  background: #fff;
  border: 1px solid #e2e6ee;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 28px rgba(0,43,108,0.08);
}

.security-card-highlight {
  border: 2px solid var(--blue2);
}

.security-code {
  display: inline-flex;
  margin-bottom: 16px;
  background: var(--blue);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.security-head h2 {
  margin: 0 0 10px;
  font-size: 30px;
  color: var(--blue);
}

.security-head p {
  margin: 0 0 24px;
  color: #40506a;
  font-size: 16px;
}

.security-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.security-card li {
  padding: 12px 0;
  border-bottom: 1px solid #e2e6ee;
  font-weight: 600;
}

.security-note {
  background: #f3f5f9;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--blue);
}

.security-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  padding: 16px 22px;
  border-radius: 10px;
  font-weight: 800;
}

.security-button.yellow {
  background: var(--yellow);
  color: var(--blue);
}

.privacy-box {
  margin-top: 34px;
  background: var(--blue);
  color: #fff;
  border-radius: 18px;
  padding: 30px;
}

.privacy-box h2 {
  margin: 0 0 12px;
}

.privacy-box p {
  margin: 0;
  line-height: 1.6;
}

.privacy-box a {
  color: #fff;
  font-weight: 800;
}

.trust-image {
  display: block;
  margin-top: 34px;
  border-radius: 18px;
  overflow: hidden;
}

.trust-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.security-logos {
  margin-top: 34px;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: 1fr;
  }

  .security-card {
    padding: 24px;
  }
}

/* =========================
   SECURITY PAGE LAYOUT
========================= */
.security-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0px 38px 90px;
}

/* =========================
   SECURITY GRID
========================= */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 40px;
}

/* =========================
   SECURITY CARD
========================= */
.security-card {
  position: relative;
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 18px;
  padding: 34px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,43,108,0.08);
  display: flex;
  flex-direction: column;
}

/* S3 Highlight */
.security-card-highlight {
  border: 2px solid var(--blue2);
}

/* =========================
   SECURITY HEAD
========================= */
.security-head {
  margin-bottom: 16px;
}

.security-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 18px;
}

.security-head h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
}

.security-head p {
  margin: 0;
  color: #40506a;
  font-size: 16px;
  line-height: 1.5;
}

/* =========================
   SECURITY LIST
========================= */
.security-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.security-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #e3e8f0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

/* =========================
   INFO BOX
========================= */
.security-note {
  margin-top: auto;
  background: #f3f6fa;
  border-radius: 12px;
  padding: 18px;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

/* =========================
   BUTTONS
========================= */
.security-button {
  margin-top: 20px;
  min-height: 60px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  transition: 0.2s ease;
}

.security-button:hover {
  transform: translateY(-2px);
}

.security-button.yellow {
  background: var(--yellow);
  color: var(--blue);
}

/* =========================
   DSGVO BOX
========================= */
.privacy-box {
  margin-top: 34px;
  padding: 34px;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
}

.privacy-box h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.privacy-box p {
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
}

.privacy-box a {
  color: #fff;
  font-weight: 800;
}

/* =========================
   TEAM IMAGE
========================= */
.trust-image {
  display: block;
  margin-top: 34px;
  border-radius: 18px;
  overflow: hidden;
}

.trust-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {

  .security-grid {
    grid-template-columns: 1fr;
  }

  .security-page {
    padding: 40px 24px 70px;
  }

  .security-card {
    padding: 26px;
  }

  .security-head h2 {
    font-size: 28px;
  }

}

/* =========================
   SECURITY GRID KOMPAKTER
========================= */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 28px;
}

/* =========================
   SECURITY CARD KOMPAKT
========================= */
.security-card {
  position: relative;
  background: #fff;
  border: 1px solid #dce3ee;
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,43,108,0.06);
  display: flex;
  flex-direction: column;
}

/* S2 STANDARD HERVORHEBEN */
.security-card.standard {
  border: 6px solid var(--blue);
}

/* S3 */
.security-card-highlight {
  border: 2px solid var(--blue2);
}

/* =========================
   HEAD
========================= */
.security-head {
  margin-bottom: 16px;
}

.security-code {
  min-width: 52px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.security-head h2 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.08;
  font-weight: 700;
}

.security-head p {
  margin: 0;
  color: #40506a;
  font-size: 14px;
  line-height: 1.45;
}

/* =========================
   LISTE
========================= */
.security-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.security-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #e3e8f0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

/* =========================
   INFO BOX
========================= */
.security-note {
  margin-top: auto;
  background: #f3f6fa;
  border-radius: 10px;
  padding: 14px;
  color: var(--blue);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

/* =========================
   BUTTONS
========================= */
.security-button {
  margin-top: 16px;
  min-height: 54px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
}

.security-button.yellow {
  background: var(--yellow);
  color: var(--blue);
}

html {
  scroll-behavior: smooth;
}

.calculator-steps {
  scroll-margin-top: 110px;
}