:root {
  --navy: #082844;
  --navy-2: #0d385d;
  --blue: #155f95;
  --blue-light: #e9f3f9;
  --amber: #f4b62b;
  --green: #168b55;
  --ink: #182735;
  --muted: #607080;
  --line: #dce4e9;
  --surface: #f5f8fa;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(8, 40, 68, .12);
  --radius: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.skip-link {
  position: fixed; z-index: 9999; left: 12px; top: -60px;
  background: #fff; color: #000; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.container.narrow { max-width: 830px; }
.center { text-align: center; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(8,40,68,.10);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(var(--container), calc(100% - 40px)); margin-inline: auto;
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; flex: 0 0 auto;
  background: var(--navy); color: #fff; font-weight: 900; letter-spacing: -.06em;
  box-shadow: inset -4px -4px 0 rgba(244,182,43,.25);
}
.brand-copy { display: grid; line-height: 1.16; }
.brand-copy strong { font-size: 1.1rem; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); font-size: .76rem; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 10px 12px; border-radius: 9px; color: #314251; text-decoration: none;
  font-weight: 650; font-size: .94rem;
}
.main-nav a:hover, .main-nav a.active { background: var(--blue-light); color: var(--navy); }
.main-nav .nav-contact {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 4px;
  color: #fff; background: var(--navy);
}
.main-nav .nav-contact:hover { color: #fff; background: var(--blue); }
.menu-toggle {
  display: none; border: 0; background: var(--surface); color: var(--navy);
  width: 46px; height: 46px; border-radius: 10px; place-items: center; cursor: pointer;
}

.hero {
  position: relative; min-height: 650px; display: flex; align-items: center;
  background-image: url("images/hero-gluehlampe.webp");
  background-size: cover; background-position: center;
  isolation: isolate;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,26,45,.96) 0%, rgba(5,26,45,.88) 44%, rgba(5,26,45,.35) 78%, rgba(5,26,45,.22) 100%),
    linear-gradient(0deg, rgba(5,26,45,.28), rgba(5,26,45,.08));
}
.hero-content {
  width: min(var(--container), calc(100% - 40px)); margin-inline: auto;
  padding: 80px 0; max-width: 930px; color: #fff;
}
.eyebrow, .section-kicker {
  margin: 0 0 14px; color: var(--blue); font-size: .79rem;
  font-weight: 850; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow { color: var(--amber); }
.section-kicker.light { color: #bfe4fa; }
.hero h1 {
  margin: 0; max-width: 900px; font-size: clamp(2.4rem, 5.2vw, 4.9rem);
  line-height: 1.06; letter-spacing: -.045em;
}
.hero-lead { max-width: 700px; margin: 24px 0 0; color: #d7e6f0; font-size: 1.2rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px; padding: 12px 20px;
  text-decoration: none; font-weight: 800; line-height: 1.15; transition: .2s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--amber); color: #17212a; box-shadow: 0 12px 30px rgba(244,182,43,.24); }
.button-primary:hover { background: #ffc64a; }
.button-light { background: #fff; color: var(--navy); }
.button-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.button-outline:hover { background: var(--navy); color: #fff; }
.button-whatsapp { background: #1fa866; color: #fff; }

.trust-strip {
  width: min(1040px, calc(100% - 40px)); margin: -38px auto 0; position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(3,1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.trust-strip div { padding: 24px 30px; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { color: var(--navy); }
.trust-strip span { color: var(--muted); font-size: .88rem; }

.section { padding: 96px 0; }
.intro-section { padding-top: 124px; }
.section h2, .page-hero h1 {
  margin: 0 0 20px; color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.12; letter-spacing: -.035em;
}
.section h3 { line-height: 1.2; }
.large-copy { font-size: 1.28rem; color: #304555; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.text-link {
  display: inline-flex; align-items: center; gap: 7px; color: var(--blue);
  text-decoration: none; font-weight: 800; white-space: nowrap;
}
.text-link:hover { color: var(--navy); }
.media-section, .services-preview { background: var(--surface); }
.media-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px;
}
.media-card {
  position: relative; min-height: 310px; grid-column: span 4;
  border-radius: var(--radius); overflow: hidden; margin: 0; background: var(--navy);
}
.media-card-wide { grid-column: span 8; }
.media-card img { height: 100%; object-fit: cover; transition: transform .4s ease; }
.media-card:hover img { transform: scale(1.025); }
.media-card::after {
  content: ""; position: absolute; inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(3,20,34,.9));
}
.media-card figcaption {
  position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: #fff;
}
.media-card strong, .media-card span { display: block; }
.media-card strong { font-size: 1.18rem; }
.media-card span { color: #d3e2eb; font-size: .88rem; }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 36px;
}
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 28px;
  box-shadow: 0 8px 20px rgba(8,40,68,.04);
}
.service-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-light); color: var(--blue); margin-bottom: 18px;
}
.service-icon .icon { width: 24px; height: 24px; }
.service-card h3 { margin: 0 0 9px; color: var(--navy); font-size: 1.12rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.about-teaser { background: #fff; }
.cta-section { background: var(--navy); color: #fff; padding: 70px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-inner h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.8rem,3vw,2.8rem); line-height: 1.1; }
.cta-inner p { margin: 0; color: #c7dce9; }
.cta-inner .button-row { margin-top: 0; }

.page-hero {
  padding: 100px 0 90px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff;
}
.page-hero.compact { padding: 78px 0 64px; }
.page-hero h1 { color: #fff; max-width: 880px; }
.page-hero p:not(.section-kicker) { color: #d0e1ec; max-width: 760px; font-size: 1.15rem; }
.page-hero-image {
  background:
    linear-gradient(90deg, rgba(8,40,68,.94), rgba(8,40,68,.62)),
    url("images/schaltanlage-service.webp") center/cover;
}
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail-card {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px;
  border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: #fff;
}
.detail-number { color: var(--amber); font-weight: 900; font-size: 1.45rem; }
.detail-title { display: flex; align-items: center; gap: 11px; color: var(--navy); }
.detail-title h2 { font-size: 1.25rem; margin: 0; letter-spacing: -.02em; }
.detail-title .icon { color: var(--blue); }
.detail-card p { color: var(--muted); margin: 12px 0 0; }

.prose { max-width: 900px; }
.prose h2 { margin-top: 48px; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #354959; }
.prose a { color: var(--blue); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.value-grid div { padding: 26px; background: var(--surface); border-radius: 14px; }
.value-grid span { color: var(--amber); font-size: 1.3rem; font-weight: 900; }
.value-grid h3 { color: var(--navy); margin: 8px 0; }
.value-grid p { margin: 0; font-size: .94rem; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 30px; }
.contact-card {
  display: flex; gap: 16px; align-items: center; padding: 18px;
  border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: #fff;
}
a.contact-card:hover { border-color: #9fc7dd; background: var(--blue-light); }
.contact-card > .icon { width: 25px; height: 25px; color: var(--blue); }
.contact-card span { display: grid; }
.contact-card strong { color: var(--navy); }
.contact-card small { color: var(--muted); }
.wa-circle {
  width: 36px; height: 36px; border-radius: 50%; display: grid !important; place-items: center;
  background: #1fa866; color: #fff; font-weight: 900; font-size: 1.35rem;
}
.contact-note { margin-top: 24px; color: var(--muted); font-size: .9rem; }
.form-panel { padding: 36px; background: var(--surface); border-radius: var(--radius); }
.form-panel h2 { font-size: 2rem; }
form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
label { display: grid; gap: 7px; color: var(--navy); font-weight: 700; font-size: .9rem; }
input, textarea, select {
  width: 100%; border: 1px solid #bdcad3; border-radius: 9px; padding: 12px 13px;
  background: #fff; color: var(--ink); outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,95,149,.12); }
textarea { resize: vertical; min-height: 150px; }
.consent { grid-template-columns: 22px 1fr; align-items: start; font-weight: 500; color: var(--muted); }
.consent input { margin-top: 4px; }
.honeypot { position: absolute; left: -9999px; }
.required-note { margin: -6px 0 0; color: var(--muted); font-size: .82rem; }
.form-message { padding: 13px 15px; margin-bottom: 18px; border-radius: 9px; font-weight: 700; }
.form-message.success { background: #e6f7ee; color: #12633d; border: 1px solid #a9dfc4; }
.form-message.error { background: #fff0f0; color: #9b2727; border: 1px solid #edb8b8; }

.legal { max-width: 920px; }
.legal h2 { border-top: 1px solid var(--line); padding-top: 28px; }
.legal h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-warning { padding: 18px; border-left: 4px solid var(--amber); background: #fff8e6; border-radius: 8px; }

.site-footer { background: #071f35; color: #bdd0dc; padding: 64px 0 0; }
.footer-inner {
  width: min(var(--container), calc(100% - 40px)); margin-inline: auto;
  display: grid; grid-template-columns: 1.15fr 1fr .7fr; gap: 60px; padding-bottom: 44px;
}
.footer-brand { font-size: 1.35rem; font-weight: 900; color: #fff; text-decoration: none; }
.site-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.site-footer p { margin: 8px 0 0; font-size: .9rem; }
.site-footer a { color: #dbe8ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  width: min(var(--container), calc(100% - 40px)); margin-inline: auto;
  display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem;
}
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: flex; align-items: center; gap: 9px; padding: 11px 15px;
  border-radius: 999px; background: #1fa866; color: #fff; text-decoration: none;
  font-weight: 850; box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.whatsapp-symbol { font-size: 1.25rem; }
.not-found { min-height: 60vh; display: grid; place-items: center; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; }
  .main-nav {
    display: none; position: absolute; left: 20px; right: 20px; top: 72px;
    padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow); flex-direction: column; align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .main-nav .nav-contact { margin-left: 0; justify-content: center; }
  .hero { min-height: 590px; background-position: 60% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,26,45,.96), rgba(5,26,45,.76)); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .media-card, .media-card-wide { grid-column: span 6; }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-inner { min-height: 70px; width: min(100% - 28px, var(--container)); }
  .brand-copy small { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .main-nav { top: 66px; left: 14px; right: 14px; }
  .container { width: min(100% - 28px, var(--container)); }
  .hero { min-height: 610px; }
  .hero-content { width: min(100% - 28px, var(--container)); padding: 60px 0; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.35rem); }
  .button-row .button { width: 100%; }
  .trust-strip { width: min(100% - 28px, 1040px); grid-template-columns: 1fr; margin-top: -22px; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 22px; }
  .trust-strip div:last-child { border-bottom: 0; }
  .section { padding: 70px 0; }
  .intro-section { padding-top: 94px; }
  .section-heading { align-items: start; flex-direction: column; }
  .media-grid { display: grid; grid-template-columns: 1fr; }
  .media-card, .media-card-wide { grid-column: auto; min-height: 280px; }
  .service-grid, .value-grid, .form-row { grid-template-columns: 1fr; }
  .cta-inner { align-items: stretch; flex-direction: column; }
  .cta-inner .button-row { width: 100%; }
  .detail-card { grid-template-columns: 48px 1fr; padding: 22px; }
  .form-panel { padding: 24px 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float span:last-child { display: none; }
  .whatsapp-float { width: 54px; height: 54px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Aktualisierte Firmenbezeichnung im Seitenkopf */
.brand-copy strong {
  font-size: 1rem;
  line-height: 1.15;
}
.brand-copy small {
  display: block;
  margin-top: 4px;
  font-size: .82rem;
  color: var(--muted);
}
@media (max-width: 680px) {
  .brand-copy strong {
    font-size: .84rem;
  }
  .brand-copy small {
    display: block;
    font-size: .72rem;
  }
}


/* Benjamin Schober im Seitenkopf größer hervorheben */
.brand-copy small {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}
@media (max-width: 680px) {
  .brand-copy small {
    font-size: .88rem;
  }
}


/* Finale Anpassung Seitenkopf */
.brand-copy small {
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-top: 5px;
}
@media (max-width: 680px) {
  .brand-copy small {
    font-size: 1rem;
  }
}


/* Benjamin Schober deutlich größer – finale Priorität */
.site-header .brand .brand-copy strong {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.site-header .brand .brand-copy small {
  display: block !important;
  margin-top: 4px !important;
  font-size: 1.55rem !important;
  font-weight: 900 !important;
  line-height: 1.02 !important;
  color: var(--navy) !important;
  letter-spacing: -0.02em !important;
}

@media (max-width: 680px) {
  .site-header .brand .brand-copy strong {
    font-size: 0.72rem !important;
  }

  .site-header .brand .brand-copy small {
    font-size: 1.12rem !important;
  }
}


/* Finale Abstufung im Seitenkopf:
   Firmenbezeichnung größer, Name etwas kleiner */
.site-header .brand .brand-copy strong {
  font-size: 1.18rem !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  color: var(--navy) !important;
  letter-spacing: -0.015em !important;
}

.site-header .brand .brand-copy small {
  display: block !important;
  margin-top: 4px !important;
  font-size: 0.96rem !important;
  font-weight: 750 !important;
  line-height: 1.1 !important;
  color: var(--muted) !important;
  letter-spacing: 0 !important;
}

@media (max-width: 680px) {
  .site-header .brand .brand-copy strong {
    font-size: 0.95rem !important;
  }

  .site-header .brand .brand-copy small {
    font-size: 0.82rem !important;
  }
}


/* Aussagekräftigeres WhatsApp-Symbol */
.whatsapp-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: currentColor;
  flex: 0 0 auto;
}

.whatsapp-float .whatsapp-icon {
  width: 1.45rem;
  height: 1.45rem;
}

.wa-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  background: #1fa866;
  color: #fff;
}

.wa-circle .whatsapp-icon {
  width: 23px;
  height: 23px;
}

@media (max-width: 680px) {
  .whatsapp-float .whatsapp-icon {
    width: 1.6rem;
    height: 1.6rem;
  }
}


/* Optisch aufgewertete Firmenbezeichnung im Titelbereich */
.hero-brand {
  display: inline-grid;
  gap: 4px;
  margin-bottom: 22px;
  padding-left: 18px;
  border-left: 4px solid var(--amber);
}

.hero-company {
  color: #d7e6f0;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.25;
}

.hero-name {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
}

@media (max-width: 680px) {
  .hero-brand {
    margin-bottom: 18px;
    padding-left: 14px;
  }

  .hero-company {
    font-size: .72rem;
    letter-spacing: .09em;
  }

  .hero-name {
    font-size: 1.65rem;
  }
}


/* Firmenbezeichnung im Titelbild – neue Hierarchie */
.hero-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0;
  padding: 18px 22px;
  border-left: 5px solid var(--amber);
  background: rgba(4, 24, 41, 0.38);
  border-radius: 0 12px 12px 0;
  backdrop-filter: blur(3px);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.hero-company {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.5vw, 3.35rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-transform: none;
}

.hero-name {
  color: #f4c95d;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .01em;
}

@media (max-width: 680px) {
  .hero-brand {
    gap: 6px;
    padding: 15px 16px;
    border-left-width: 4px;
  }

  .hero-company {
    font-size: clamp(1.55rem, 8.5vw, 2.35rem);
  }

  .hero-name {
    font-size: 1rem;
  }
}


/* Feinabstimmung Firmenbezeichnung im Titelbild */
.hero-brand {
  gap: 6px !important;
  padding: 16px 19px !important;
  background: rgba(4, 24, 41, 0.28) !important;
  border-left: 4px solid #e3ad2d !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.14) !important;
}

.hero-company {
  color: #f7f9fb !important;
  font-size: clamp(1.35rem, 2.6vw, 2.35rem) !important;
  font-weight: 850 !important;
  line-height: 1.06 !important;
  letter-spacing: -0.025em !important;
}

.hero-name {
  color: #d5e3ec !important;
  font-size: clamp(.98rem, 1.4vw, 1.2rem) !important;
  font-weight: 750 !important;
  line-height: 1.12 !important;
}

.hero .button-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero .button-primary .whatsapp-icon {
  width: 1.25rem;
  height: 1.25rem;
}

@media (max-width: 680px) {
  .hero-brand {
    padding: 14px 15px !important;
    border-left-width: 3px !important;
  }

  .hero-company {
    font-size: clamp(1.28rem, 7vw, 1.85rem) !important;
  }

  .hero-name {
    font-size: .95rem !important;
  }
}


/* Semantische Hauptüberschrift im Titelbild ohne optische Änderung */
.hero-company {
  margin: 0 !important;
}
