@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2?v=2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2?v=2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: only light;
  --green-dark: #0f2a1d;
  --green: #17402c;
  --primary: #2f9a55;
  --primary-hover: #237a42;
  --accent: #8fd19e;
  --bg-light: #f2f7f3;
  --text-dark: #1f2a24;
  --text-muted: #56665c;
  --border-color: #d8e6dc;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 4px 18px rgba(15, 42, 29, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-wrap: break-word;
}
.footer-grid > *, .split > *, .detail-grid > * { min-width: 0; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow-container { max-width: 880px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.top-bar { padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo img { height: 55px; width: auto; }
.top-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; font-size: .9rem; }
.top-contact-list li { display: flex; align-items: center; gap: 8px; }
.icon-badge { color: var(--primary); font-weight: bold; }
.main-nav { background: var(--green-dark); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 14px 20px; color: var(--white); font-weight: 600; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.nav-list > li > a:hover, .nav-list > li.active > a { background: var(--primary); color: var(--white); }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--green);
  list-style: none; margin: 0; padding: 8px 0; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  border-top: 3px solid var(--primary); z-index: 1001;
}
.has-dropdown:hover .dropdown-menu, .has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 10px 18px; color: var(--white); font-size: .9rem; }
.dropdown-menu li a:hover { background: var(--primary); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-color); border-radius: 4px;
  padding: 8px 10px; cursor: pointer; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-dark); }

/* Hero slider */
.hero-slider { position: relative; overflow: hidden; background: var(--green-dark); color: var(--white); }
.slide { display: none; min-height: 480px; background-size: cover; background-position: center; align-items: center; padding: 80px 0; }
.slide.active { display: flex; animation: fade .6s ease; }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }
.slide-content { max-width: 680px; }
.slide-kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.slide-content h1 { font-size: 2.6rem; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
.slide-content p { font-size: 1.15rem; margin: 0 0 28px; color: #e3f0e7; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(15,42,29,.65); color: var(--white);
  border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; transition: background .2s;
}
.slider-btn:hover { background: var(--primary); }
.slider-btn.prev { left: 18px; }
.slider-btn.next { right: 18px; }
.slider-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--white); background: transparent; cursor: pointer; padding: 0; }
.dot.active { background: var(--white); }

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, rgba(15,42,29,.94), rgba(23,64,44,.88)), url('../img/hero-netz.svg') center/cover;
  color: var(--white); padding: 56px 0;
}
.page-banner h1 { margin: 0 0 8px; font-size: 2.1rem; text-transform: uppercase; }
.page-banner p { margin: 0; color: #d5e8dc; font-size: 1.05rem; max-width: 760px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-light); }
.section-header { margin-bottom: 40px; }
.section-header h2 { margin: 0 0 12px; font-size: 1.9rem; color: var(--green-dark); }
.section-header p { max-width: 760px; color: var(--text-muted); margin: 0; }
.divider { width: 64px; height: 4px; background: var(--primary); margin-bottom: 18px; border-radius: 2px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); color: var(--text-dark); transition: transform .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(15,42,29,.14); color: var(--text-dark); }
.service-card-img { position: relative; height: 200px; background: linear-gradient(135deg, var(--green-dark), var(--primary)); overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,42,29,.85), rgba(15,42,29,0) 60%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: var(--white);
}
.service-card-overlay h3 { margin: 8px 0 0; font-size: 1.1rem; hyphens: manual; overflow-wrap: break-word; text-transform: uppercase; letter-spacing: .03em; }
.arrow-circle { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.service-card-body { padding: 16px 18px; font-size: .92rem; color: var(--text-muted); }
.service-card-body p { margin: 0; }

/* Intro split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.lead { font-size: 1.12rem; color: var(--text-dark); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); color: var(--white); font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fact { background: var(--white); border: 1px solid var(--border-color); border-top: 4px solid var(--primary); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.fact strong { display: block; font-size: 1.05rem; color: var(--green-dark); margin-bottom: 6px; }
.fact span { font-size: .9rem; color: var(--text-muted); }

/* Qualification labels */
.labels { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.label-card { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; align-items: center; gap: 18px; max-width: 100%; }
.labels > .label-card { min-width: 0; flex: 0 1 auto; }
.label-card img { height: 125px; width: auto; max-width: 100%; object-fit: contain; background: #fff; border-radius: 4px; }
.label-card p { flex: 1 1 180px; }
.label-card p { margin: 0; font-size: .9rem; color: var(--text-muted); max-width: 260px; }
.label-card strong { color: var(--green-dark); display: block; }

/* Detail cards */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card-box, .detail-card { background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.detail-card h3 { margin-top: 0; color: var(--green-dark); border-bottom: 2px solid var(--primary); padding-bottom: 10px; }
.detail-card ul { padding-left: 20px; margin: 12px 0 0; }
.detail-card li { margin-bottom: 8px; }

.service-block { padding: 64px 0; border-bottom: 1px solid var(--border-color); scroll-margin-top: 130px; }
.service-block:nth-of-type(even) { background: var(--bg-light); }
.service-block h2 { margin: 0 0 12px; font-size: 1.8rem; color: var(--green-dark); }
.tag { display: inline-block; background: var(--bg-light); border: 1px solid var(--border-color); color: var(--primary-hover); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.service-block:nth-of-type(even) .tag { background: var(--white); }
.quick-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-tags a { background: var(--bg-light); border: 1px solid var(--border-color); padding: 7px 14px; border-radius: 20px; font-size: .85rem; font-weight: 600; color: var(--green-dark); }
.quick-tags a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 24px 20px 20px; background: var(--white); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 6px 0 6px; font-size: 1rem; color: var(--green-dark); }
.step p { margin: 0; font-size: .9rem; color: var(--text-muted); }

/* CTA */
.cta-banner { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: var(--white); padding: 48px 0; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-banner h2 { margin: 0 0 8px; font-size: 1.5rem; }
.cta-banner p { margin: 0; color: #d5e8dc; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: all .2s ease; text-align: center; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); color: var(--white); }
.btn-white { background: var(--white); color: var(--green-dark); }
.btn-white:hover { background: #e3f0e7; color: var(--green-dark); }
.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--white); color: var(--green-dark); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { text-align: center; }
.contact-card .icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--bg-light); color: var(--primary); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
.contact-card h3 { margin: 0 0 6px; color: var(--green-dark); font-size: 1.05rem; }
.contact-card p { margin: 0; }

/* Legal */
.legal-text h2 { color: var(--green-dark); margin-top: 1.8rem; font-size: 1.35rem; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { color: var(--green); margin-top: 1.3rem; font-size: 1.1rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--border-color); }
.legal-table th { width: 38%; color: var(--green-dark); font-weight: 600; }

/* Footer */
.site-footer { background: var(--green-dark); color: #cfe2d5; padding-top: 52px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-logo { height: 54px; width: auto; margin-bottom: 16px; }
.footer-col h4 { color: var(--white); margin: 0 0 14px; text-transform: uppercase; font-size: .95rem; letter-spacing: .04em; }
.footer-col a { color: #cfe2d5; }
.footer-col a:hover { color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-labels { display: flex; gap: 12px; margin-top: 16px; }
.footer-labels img { height: 76px; width: auto; background: var(--white); border-radius: 4px; padding: 4px; }
.footer-bottom { background: #0a1f15; padding: 16px 0; font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Cookie-/Datenschutzhinweis */
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.link-btn { background: none; border: none; padding: 0; color: #cfe2d5; font: inherit; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: var(--white); }
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--green-dark); color: var(--white);
  border-top: 3px solid var(--primary); box-shadow: 0 -6px 24px rgba(0,0,0,.28); z-index: 2000; padding: 20px 0;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1 1 520px; min-width: 0; }
.cookie-text h3 { margin: 0 0 6px; font-size: 1.1rem; }
.cookie-text p { margin: 0; font-size: .88rem; color: #d5e8dc; }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-options { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; gap: 8px; }
.cookie-options[hidden] { display: none; }
.cookie-check { display: flex; align-items: center; gap: 10px; font-size: .86rem; }
.cookie-note { font-size: .82rem !important; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .services-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .facts, .steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .split, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .top-contact-list { display: none; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .dropdown-menu { position: static; box-shadow: none; border-top: none; padding-left: 16px; }
}
@media (max-width: 600px) {
  .services-grid, .contact-cards, .facts, .steps { grid-template-columns: 1fr; }
  .slide-content h1 { font-size: 1.8rem; }
  .slider-btn { display: none; }
  .legal-table th { width: auto; display: block; border-bottom: 0; padding-bottom: 0; }
  .legal-table td { display: block; }
}
