@charset "utf-8";

  :root{
    --navy-900:#131d33;
    --navy-800:#1a2740;
    --navy-700:#22304d;
    --navy-600:#2b3c60;
    --teal:#22c7cf;
    --teal-dark:#0f9aa8;
    --ink:#1a2740;
    --ink-soft:#4a5568;
    --card-bg:#eef1f4;
    --card-bg-hover:#e2e8f0;
    --white:#ffffff;
    --max-w:1180px;
  }

  *,*::before,*::after{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    font-family:'Inter',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
    color:var(--ink);
    background:var(--white);
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.logo-text,.footer-logo span,.btn-cta{
    font-family:'Poppins','Inter',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
  }
  img,svg{display:block;max-width:100%;}
  a{color:inherit;}
  .container{
    max-width:var(--max-w);
    margin:0 auto;
    padding:0 32px;
  }

  /* ---------- Skip link ---------- */
  .skip-link{
    position:absolute; left:-999px; top:auto;
    background:var(--teal); color:var(--navy-900); padding:10px 16px;
    z-index:1000; border-radius:0 0 6px 0; font-weight:600;
  }
  .skip-link:focus{left:0; top:0;}

  /* ---------- Header ---------- */
  header.site-header{
    position:sticky; top:0; z-index:100;
    background:var(--white);
    border-bottom:1px solid #eceff2;
  }
  .header-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 32px;
    max-width:var(--max-w); margin:0 auto;
  }
  .logo{
    display:flex; align-items:center; gap:12px;
    text-decoration:none;
  }
  .logo svg{width:44px;height:44px;flex-shrink:0;}
  .logo-text{
    font-size:1.5rem; letter-spacing:.2px; color:var(--navy-800);
    font-weight:400; white-space:nowrap;
  }
  .logo-text b{font-weight:800;}

  .desktop-nav{display:none;}
  .desktop-nav ul{
    list-style:none; display:flex; gap:36px; margin:0; padding:0;
  }
  .desktop-nav a{
    text-decoration:none; font-weight:600; font-size:.98rem;
    color:var(--navy-800); padding:6px 2px;
    transition:color .2s ease;
  }
  .desktop-nav a:hover{color:var(--teal-dark);}

  .hamburger{
    background:none; border:none; cursor:pointer;
    width:44px; height:44px; display:flex; align-items:center; justify-content:center;
    border-radius:8px;
  }
  .hamburger:hover{background:#f2f4f7;}
  .hamburger:focus-visible{outline:2px solid var(--teal); outline-offset:2px;}
  .hamburger .bars{
    display:flex; flex-direction:column; justify-content:center; gap:5px;
    width:26px; height:20px;
  }
  .hamburger .bars span{
    display:block; width:100%; height:3px; border-radius:2px;
    background:var(--navy-800);
    transition:transform .25s ease, opacity .25s ease;
    transform-origin:center;
  }
  .hamburger[aria-expanded="true"] .bar1{transform:translateY(8px) rotate(45deg);}
  .hamburger[aria-expanded="true"] .bar2{opacity:0;}
  .hamburger[aria-expanded="true"] .bar3{transform:translateY(-8px) rotate(-45deg);}

  nav.mobile-nav{
    max-height:0; overflow:hidden;
    transition:max-height .3s ease;
    background:var(--white);
    border-bottom:1px solid transparent;
  }
  nav.mobile-nav.open{
    max-height:220px;
    border-bottom:1px solid #eceff2;
  }
  nav.mobile-nav ul{
    list-style:none; margin:0; padding:8px 32px 20px;
    display:flex; flex-direction:column; gap:4px;
    max-width:var(--max-w); margin:0 auto;
  }
  nav.mobile-nav a{
    display:block; padding:12px 8px; text-decoration:none;
    font-weight:600; color:var(--navy-800); border-radius:8px;
  }
  nav.mobile-nav a:hover{background:var(--card-bg); color:var(--teal-dark);}

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    background:var(--navy-800);
    color:var(--white);
    overflow:hidden;
    padding:96px 0 110px;
  }
  .hero-bg{
    position:absolute; inset:0; z-index:0;
    opacity:.9;
  }
  .hero-bg svg{width:100%;height:100%;}
  .hero-content{position:relative; z-index:1;}
  .hero h1{
    font-size:clamp(2.1rem, 4.4vw, 3.4rem);
    line-height:1.15;
    margin:0 0 22px;
    font-weight:800;
    max-width:720px;
  }
  .hero p{
    font-size:1.15rem;
    line-height:1.6;
    max-width:560px;
    color:#dde3ee;
    margin:0 0 36px;
  }
  .btn-cta{
    display:inline-flex; align-items:center; gap:10px;
    background:var(--teal);
    color:var(--navy-900);
    font-weight:700;
    text-decoration:none;
    padding:10px 22px;
    border-radius:24px;
    font-size:1rem;
    transition:background .2s ease, transform .2s ease;
    border:none; cursor:pointer;
  }
  .btn-arrow{flex-shrink:0; transition:transform .2s ease;}
  .btn-cta:hover .btn-arrow{transform:translateX(3px);}
  .btn-cta:hover{background:#3fd6dd; transform:translateY(-2px);}
  .btn-cta:focus-visible{outline:2px solid #fff; outline-offset:3px;}

  /* ---------- Über uns ---------- */
  .section{padding:88px 0;}
  #ueber-uns{padding-bottom:40px;}
  #leistungen{padding-top:40px;}
  .section-eyebrow{display:none;}
  h2.section-title{
    font-size:clamp(1.8rem,3vw,2.3rem);
    font-weight:800;
    color:var(--navy-800);
    margin:0 0 32px;
  }
  .about-grid{
    display:grid;
    grid-template-columns:1.4fr .9fr;
    gap:56px;
    align-items:start;
  }
  .about-text p{
    color:var(--ink-soft);
    line-height:1.75;
    font-size:1.02rem;
    margin:0 0 20px;
  }
  .about-image{
    border-radius:10px; overflow:hidden;
    box-shadow:0 18px 40px -18px rgba(19,29,51,.35);
	margin-top:95px;
    /*aspect-ratio:0.94;*/
  }
  .about-image svg{width:100%; height:100%; display:block;}

  /* ---------- Leistungen ---------- */
  .leistungen{background:var(--white);}
  .cards-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
  }
  .card{
    background:var(--card-bg);
    border:1px solid #dde2e8;
    border-radius:10px;
    padding:28px 26px 30px;
    transition:box-shadow .22s ease;
  }
  .card:hover{
    box-shadow:0 18px 34px -16px rgba(19,29,51,.32);
  }
  .card-icon{
    width:52px; height:52px;
    border-radius:50%;
    background:var(--navy-900);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:18px;
  }
  .card-icon svg{width:26px; height:26px;}
  .card h3{
    margin:0 0 10px;
    font-size:1.08rem;
    color:var(--navy-800);
    font-weight:700;
  }
  .card p{
    margin:0; color:var(--ink-soft); line-height:1.55; font-size:.95rem;
  }

/* ---------- Datenschutz Tabelle ---------- */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: var(--white);
  overflow: hidden;
  
}

.legal-table thead th {
  background: var(--navy-800);
  color: var(--white);
  padding: 16px 18px;
  text-align: left;
  font-weight: 700;
  font-size: .95rem;
}

.legal-table td {
  padding: 16px 18px;
  border-top: 1px solid #e5e9ef;
  color: var(--ink-soft);
  line-height: 1.6;
  vertical-align: top;
}

.legal-table tbody tr:nth-child(even) {
  background: var(--card-bg);
}

.legal-table tbody tr:hover {
  background: #e7f9fa;
}

.legal-table td:first-child {
  font-weight: 600;
  color: var(--navy-800);
}

@media (max-width: 768px) {
  .legal-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}


  /* ---------- CTA band ---------- */
  .cta-band{
    background:linear-gradient(180deg, #1a2740 0%, #17233c 55%, var(--navy-900) 100%);
    color:var(--white);
    text-align:center;
    padding:88px 0 96px;
  }
  .cta-band h2{
    font-size:clamp(1.8rem,3.4vw,2.4rem);
    font-weight:800;
    margin:0 0 30px;
    line-height:1.3;
  }
  .cta-checks{
    display:flex; justify-content:center; gap:44px; flex-wrap:wrap;
    font-weight:600; font-size:1.35rem; color:#e7ecf5;
  }
  .cta-checks span{display:inline-flex; align-items:center; gap:12px;}
  .cta-checks svg{width:26px;height:26px;flex-shrink:0;}

  /* ---------- Bottom / footer wrapper ---------- */
  .footer-wrap{
    background:var(--navy-900);
    color:var(--white);
  }
  .footer-hero{
    position:relative;
    overflow:hidden;
    padding:120px 0 90px;
    background:var(--navy-900);
  }
  .footer-bg{
    position:absolute; inset:0; z-index:0;
  }
  .footer-bg svg{width:100%; height:100%;}
  .footer-hero > .container{position:relative; z-index:1;}
  .footer-hero h2{
    font-size:clamp(1.9rem,4vw,2.7rem);
    font-weight:800;
    line-height:1.2;
    max-width:760px;
    margin:0 0 34px;
  }
  .footer-hero .btn-cta{background:var(--teal); color:var(--navy-900);}

  .site-footer{
    position:relative; z-index:1;
    padding:28px 0;
  }
  .footer-bottom{
    display:flex; align-items:flex-start; justify-content:space-between;
    flex-wrap:wrap; gap:16px;
  }
  .footer-logo{display:flex; flex-direction:column; gap:10px;}
  .footer-logo-row{display:flex; align-items:center; gap:10px;}
  .footer-logo svg{width:30px;height:30px;}
  .footer-logo span{font-size:1.05rem; color:#fff;}
  .footer-logo b{font-weight:800;}
  .footer-copyright{font-size:.85rem; color:#b9c1d1; margin:0 0 0 20px;}
  .footer-meta{
    display:flex; align-items:center;
    font-size:.9rem; color:#b9c1d1;
  }
  .footer-links{display:flex; align-items:center; gap:10px;}
  .footer-links a{text-decoration:none; color:#b9c1d1;}
  .footer-links a:hover{color:var(--teal); text-decoration:underline;}
  .footer-links .sep{color:#5b6a86;}

  /* ---------- Desktop / Mobile nav switch ---------- */
  @media (min-width:921px){
    .desktop-nav{display:block;}
    .hamburger, nav.mobile-nav{display:none;}
  }

  /* ---------- Responsive ---------- */
  @media (max-width:920px){
    .about-grid{grid-template-columns:1fr; gap:36px;}
    .about-image{order:-1;}
    .cards-grid{grid-template-columns:repeat(2,1fr);}
  }
  @media (max-width:640px){
    .container{padding:0 20px;}
    .header-inner{padding:14px 20px;}
    .hero{padding:64px 0 76px;}
    .section{padding:60px 0;}
    .cards-grid{grid-template-columns:1fr;}
    .cta-checks{gap:20px; justify-content:flex-start; flex-direction:column;}
    .footer-hero{padding:80px 0 60px;}
    .footer-bottom{flex-direction:column; align-items:flex-start;}
  }

  @media (prefers-reduced-motion: reduce){
    *{transition:none !important; scroll-behavior:auto !important;}
  }

 /* ---------- Legal pages (Impressum / Datenschutz) ---------- */
  .legal-hero{
    background:var(--navy-800);
    color:var(--white);
    padding:64px 0 44px;
  }
  .legal-hero .section-title{
    color:var(--white);
    margin:0 0 12px;
  }
  .legal-hero p{
    color:#dde3ee;
    font-size:1.05rem;
    line-height:1.6;
    margin:0;
    max-width:560px;
  }
  .legal-page{padding-top:64px;}
  .legal-content{max-width:760px;}
  .legal-content h2{
    font-family:'Poppins','Inter',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
    font-size:1.2rem;
    font-weight:700;
    color:var(--navy-800);
    margin:40px 0 14px;
  }
  .legal-content h2:first-child{margin-top:0;}
  .legal-content p{
    color:var(--ink-soft);
    line-height:1.75;
    font-size:1.02rem;
    margin:0 0 20px;
  }
 .legal-content li{
    color:var(--ink-soft);
    line-height:1.75;
    font-size:1.02rem;
  }
  .legal-content a{color:var(--teal-dark); text-decoration:underline; text-underline-offset:2px;}
  .legal-content a:hover{color:var(--teal);}

  @media (max-width:640px){
    .legal-hero{padding:48px 0 32px;}
    .legal-page{padding-top:48px;}
  }