:root{
      --blue:#1290d1;
      --red:#e5251f;
      --black:#111111;
      --text:#222222;
      --muted:#6b7280;
      --bg:#ffffff;
      --bg-soft:#f5f8fb;
      --line:#dbe5ee;
      --max:1200px;
      --radius:18px;
      --shadow:0 16px 40px rgba(0,0,0,.08);
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family:Arial, Helvetica, sans-serif;
      color:var(--text);
      background:var(--bg);
      line-height:1.6;
    }

    img{max-width:100%;display:block}
    a{color:inherit}
    .container{
      width:min(calc(100% - 32px), var(--max));
      margin:0 auto;
    }

    .topbar{
      position:sticky;
      top:0;
      z-index:50;
      background:rgba(255,255,255,.94);
      backdrop-filter:blur(10px);
      border-bottom:1px solid rgba(17,17,17,.08);
    }

    .topbar-inner{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:18px;
      min-height:78px;
    }

    .brand{
      display:flex;
      align-items:center;
      gap:14px;
      text-decoration:none;
      min-width:0;
    }

    .brand img{
      width:58px;
      height:auto;
      object-fit:contain;
      flex-shrink:0;
    }

    .brand-text{
      min-width:0;
    }

    .brand-text strong{
      display:block;
      font-size:1.1rem;
      color:var(--black);
      letter-spacing:.04em;
      text-transform:uppercase;
    }

    .brand-text span{
      display:block;
      font-size:.85rem;
      color:var(--muted);
    }

    .nav{
      display:flex;
      gap:20px;
      align-items:center;
      flex-wrap:wrap;
      justify-content:flex-end;
    }

    .nav a{
      text-decoration:none;
      font-size:.95rem;
      color:var(--black);
      font-weight:600;
    }

    .nav a:hover{color:var(--blue)}

    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:48px;
      padding:0 22px;
      border-radius:999px;
      text-decoration:none;
      font-weight:700;
      transition:.2s ease;
      border:2px solid transparent;
    }

    .btn-primary{
      background:var(--red);
      color:#fff;
      box-shadow:0 12px 24px rgba(229,37,31,.22);
    }

    .btn-primary:hover{transform:translateY(-1px)}
    .btn-secondary{
      border-color:var(--blue);
      color:var(--blue);
      background:#fff;
    }

    .hero {
      position:relative;
      overflow:hidden;
      background:
        linear-gradient(135deg, rgba(18,144,209,.08), rgba(229,37,31,.06)),
        #fff;
      padding:72px 0 40px;
    }

    .hero-grid{
      display:grid;
      grid-template-columns:1.15fr .85fr;
      gap:36px;
      align-items:center;
    }

    .hero-copy{
      container-type:inline-size;
    }

    .eyebrow{
      display:inline-block;
      margin-bottom:14px;
      padding:8px 14px;
      border-radius:999px;
      background:rgba(18,144,209,.10);
      color:var(--blue);
      font-size:.85rem;
      font-weight:700;
      letter-spacing:.03em;
      text-transform:uppercase;
    }

    h1,h2,h3{
      margin:0 0 16px;
      line-height:1.15;
      color:var(--black);
    }

    h1{
      font-size:clamp(2rem, 5vw, 4.4rem);
      letter-spacing:-.03em;
    }

    .hero p{
      font-size:1.08rem;
      color:#374151;
      max-width:720px;
    }

    .hero-actions{
      display:flex;
      gap:14px;
      flex-wrap:wrap;
      margin-top:28px;
    }

    .hero-card{
      background:#fff;
      border:1px solid rgba(18,144,209,.14);
      border-radius:24px;
      overflow:hidden;
      box-shadow:var(--shadow);
    }

    .hero-card img{
      width:100%;
      height:auto;
      aspect-ratio:4/5;
      object-fit:cover;
      background:#e9eef3;
    }

    .hero-card .caption{
      padding:14px 16px;
      font-size:.92rem;
      color:var(--muted);
      border-top:1px solid var(--line);
    }

    .stats{
      padding:22px 0 0;
    }

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

    .stat{
      background:#fff;
      border:1px solid var(--line);
      border-radius:16px;
      padding:20px;
      box-shadow:0 8px 24px rgba(0,0,0,.04);
    }

    .stat strong{
      display:block;
      font-size:1.5rem;
      color:var(--blue);
      margin-bottom:6px;
    }

    .stat span{
      color:var(--muted);
      font-size:.95rem;
    }

    section{
      padding:84px 0;
    }

    .section-head{
      max-width:760px;
      margin-bottom:34px;
    }


    .section-head p{
      color:var(--muted);
      margin:0;
    }

    .services-grid{
      display:grid;
      grid-template-columns:repeat(3,1fr);
      gap:18px;
    }

    .service{
      background:#fff;
      border:1px solid var(--line);
      border-radius:20px;
      padding:24px;
      box-shadow:0 8px 20px rgba(0,0,0,.04);
      position:relative;
      overflow:hidden;
    }

    .service::before{
      content:"";
      position:absolute;
      left:0;
      top:0;
      width:100%;
      height:5px;
      background:linear-gradient(90deg,var(--blue),var(--red));
    }

    .service h3{
      font-size:1.15rem;
      margin-bottom:10px;
    }

    .service p{
      margin:0;
      color:var(--muted);
      font-size:.98rem;
    }

    .split{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:28px;
      align-items:center;
    }

    .split.reverse .text{order:2}
    .split.reverse .media{order:1}

    .media{
      border-radius:22px;
      overflow:hidden;
      box-shadow:var(--shadow);
      border:1px solid var(--line);
      background:#eef3f8;
    }

    .media img{
      width:100%;
      height:auto;
      aspect-ratio:16/10;
      object-fit:cover;
      background:#dfe8f0;
    }

    .text-card{
      background:var(--bg-soft);
      border:1px solid var(--line);
      border-radius:22px;
      padding:28px;
    }

    .text-card p:last-child{margin-bottom:0}
    .text-card ul{
      margin:16px 0 0;
      padding-left:20px;
    }

    .text-card li{margin-bottom:8px}

    .quote{
      margin-top:18px;
      padding:16px 18px;
      border-left:5px solid var(--red);
      background:#fff;
      border-radius:0 14px 14px 0;
      font-weight:700;
      color:var(--black);
    }

    .band{
      background:linear-gradient(135deg, var(--blue), #0f6fa0);
      color:#fff;
    }
    .band h2,.band h3,.band p{color:#fff}
    .band .text-card{
      background:rgba(255,255,255,.08);
      border-color:rgba(255,255,255,.18);
    }

    .band .media{
      border-color:rgba(255,255,255,.14);
    }

    .cta-box{
      background:
        linear-gradient(135deg, rgba(18,144,209,.08), rgba(229,37,31,.08)),
        #fff;
      border:1px solid var(--line);
      border-radius:28px;
      padding:34px;
      box-shadow:var(--shadow);
      display:grid;
      grid-template-columns:1.2fr .8fr;
      gap:24px;
      align-items:center;
    }

    .contact-list{
      display:grid;
      gap:10px;
      color:#374151;
    }

    .contact-list a{
      color:var(--blue);
      text-decoration:none;
      font-weight:700;
    }

    footer{
      padding:30px 0 46px;
      color:var(--muted);
      font-size:.92rem;
    }

    .footer-line{
      border-top:1px solid var(--line);
      padding-top:18px;
      display:flex;
      justify-content:space-between;
      gap:16px;
      flex-wrap:wrap;
    }

    @media (max-width: 1024px){
      .hero-grid,
      .split,
      .cta-box{
        grid-template-columns:1fr;
      }

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

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

      .hero-card img{
        aspect-ratio:16/10;
      }
    }

    @media (max-width: 720px){
      .topbar-inner{
        align-items:flex-start;
        padding:12px 0;
        flex-direction:column;
      }

      .nav{
        width:100%;
        gap:12px 16px;
        justify-content:flex-start;
      }

      .hero{
        padding:48px 0 28px;
      }

      section{
        padding:64px 0;
      }

      .services-grid,
      .stats-grid{
        grid-template-columns:1fr;
      }

      .text-card,
      .cta-box{
        padding:22px;
      }

      h2{
        font-size:1.75rem;
      }

      .brand-text span{
        font-size:.8rem;
      }
    }
	  
	  .knowhow-section{
  padding:80px 0;
  background:#ffffff;
}

.knowhow-header{
  text-align:center;
  max-width:800px;
  margin:0 auto 30px;
}

.knowhow-header h2{
  font-size:2.2rem;
}

.knowhow-header h3{
  color:#666;
  font-weight:400;
}

.knowhow-intro{
  max-width:800px;
  margin:0 auto 40px;
  text-align:center;
}

.knowhow-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  margin-bottom:40px;
}

.knowhow-card{
  background:#f5f8fb;
  padding:25px;
  border-radius:16px;
  border-top:4px solid var(--blue);
}

.knowhow-card h4{
  margin-bottom:10px;
}

.knowhow-highlight{
  background:linear-gradient(135deg,var(--blue),#0f6fa0);
  color:#fff;
  padding:30px;
  border-radius:20px;
  margin-bottom:40px;
}

.knowhow-highlight ul{
  margin:15px 0 0;
  padding-left:20px;
}

.knowhow-text{
  max-width:800px;
  margin:0 auto 40px;
  text-align:center;
}

.highlight{
  color:var(--red);
  font-weight:bold;
  font-size:1.2em;
}

.knowhow-cta{
  text-align:center;
}

.knowhow-cta p{
  margin-bottom:15px;
  font-weight:bold;
}
	  
	  /* Klickbarer Bereich */
.doopenmedia {
    position: relative;
    cursor: zoom-in;
}

.doopenmedia img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.doopenmedia:hover img {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Lightbox Overlay */

section[id] { scroll-margin-top: 8rem; }
:focus-visible { outline: 3px solid #086998; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 100; top: 0; left: 1rem; padding: .5rem 1rem; background: white; transform: translateY(-120%); }
.skip-link:focus { transform: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
[aria-current="page"] { text-decoration: underline; }
.contact-list { font-style: normal; }
.prose { max-width: 800px; margin-inline: auto; overflow-wrap: anywhere; }
.prose h1, .contact-heading h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.13; margin: 0 0 1rem; }
.prose h2 { margin-top: 1.9rem; }
.prose a, .contact-form p a { text-decoration: underline; }
.contact-page .cta-box { align-items: start; }
.contact-form { display: grid; gap: .5rem; }
.contact-form label { font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; padding: .65rem .8rem; border: 1px solid #708596; border-radius: 8px; background: white; color: var(--text); margin-bottom: .45rem; }
.contact-form textarea { min-height: 10rem; resize: vertical; }
.contact-form button { justify-self: start; cursor: pointer; }
.contact-form p { margin: .25rem 0 .65rem; }
.form-status { border-left: 4px solid #207a51; background: #edf7f1; padding: .75rem 1rem; margin-bottom: 1rem; }
.form-status.error { border-color: #a72722; background: #fff2f0; }
.form-status ul { margin: .35rem 0; padding-left: 1.25rem; }
.chart-dialog { width: min(94vw, 1400px); max-height: 94vh; border: 0; border-radius: 14px; padding: 1rem; }
.chart-dialog form { display: flex; justify-content: end; margin-bottom: .65rem; }
.chart-dialog img { margin: auto; max-height: 78vh; object-fit: contain; }
.chart-dialog::backdrop { background: rgb(0 0 0 / .78); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.hero-grid > *, .split > *, .cta-box > *, .knowhow-card { min-width: 0; }
h1, h2, h3, .brand-text, .contact-list { overflow-wrap: anywhere; }
.hero h1 {
  font-size: clamp(1.5rem, 4.2vw, 3.75rem);
  font-size: clamp(1.5rem, 8.8cqi, 3.75rem);
  overflow-wrap: normal;
  text-wrap: balance;
}
#kontaktformular { scroll-margin-top: 11rem; }
@media (max-width: 720px) {
  .topbar { position: static; }
  section[id], #kontaktformular { scroll-margin-top: 1rem; }
  .knowhow-grid { grid-template-columns: minmax(0, 1fr); }
}
