:root {
  --ink: #0d1726;
  --ink-soft: #344054;
  --navy: #0a1b34;
  --navy-2: #102847;
  --accent: #f4b400;
  --accent-2: #ffd255;
  --blue: #2d6cdf;
  --surface: #ffffff;
  --surface-alt: #f5f7fa;
  --line: #d9e0e8;
  --success: #1f7a53;
  --danger: #b42318;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 30px rgba(13, 23, 38, 0.08);
  --shadow: 0 24px 70px rgba(10, 27, 52, 0.15);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

h1, h2, h3, h4 {
  margin: 0 0 0.65em;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { margin: 0 0 1rem; color: var(--ink-soft); }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 100px 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--navy); color: white; }
.section--dark p { color: rgba(255,255,255,.72); }
.section-heading { max-width: 760px; margin-bottom: 46px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: #8a6100;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 20px; background: var(--accent); }
.eyebrow--light { color: var(--accent-2); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); max-width: 720px; }
.muted { color: #667085; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 9999;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus { top: 16px; }
.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; }

.topbar { background: #061326; color: rgba(255,255,255,.78); font-size: .84rem; }
.topbar__inner { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar__links { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar a:hover { color: white; }
.topbar__social { color: var(--accent-2); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(217,224,232,.72);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(10,27,52,.08); }
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand img { width: 48px; height: 48px; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand strong { font-size: 1.18rem; letter-spacing: -.02em; }
.brand small { margin-top: 6px; color: #667085; font-size: .68rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > ul { display: flex; align-items: center; gap: 3px; }
.main-nav li { position: relative; }
.main-nav a, .main-nav button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 10px;
  border: 0;
  background: transparent;
  color: #2d3748;
  font-size: .91rem;
  font-weight: 700;
}
.main-nav a:hover, .main-nav button:hover, .main-nav .is-active { color: var(--blue); }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 245px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: .18s ease;
}
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown a { display: flex; width: 100%; padding: 10px 12px; border-radius: 9px; }
.dropdown a:hover { background: var(--surface-alt); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.menu-toggle span:not(.sr-only) { display: block; width: 21px; height: 2px; margin: 4px auto; background: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding-inline: 16px; border-radius: 10px; font-size: .9rem; }
.button--primary { background: var(--accent); color: #221800; box-shadow: 0 8px 22px rgba(244,180,0,.23); }
.button--primary:hover { background: var(--accent-2); }
.button--secondary { background: var(--navy); color: white; }
.button--outline { border-color: #aeb8c5; color: var(--ink); background: transparent; }
.button--light { background: white; color: var(--navy); }
.button--ghost-light { border-color: rgba(255,255,255,.45); color: white; }
.button-row { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--blue); font-weight: 800; }
.text-link::after { content: "→"; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(4px); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(45,108,223,.42), transparent 26%),
    radial-gradient(circle at 70% 90%, rgba(244,180,0,.18), transparent 30%),
    linear-gradient(128deg, #061326 0%, #0b2444 58%, #113764 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, black, transparent 92%); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; padding: 92px 0; }
.hero h1 { max-width: 780px; }
.hero h1 span { color: var(--accent-2); }
.hero p { max-width: 670px; color: rgba(255,255,255,.76); font-size: 1.16rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: rgba(255,255,255,.8); font-weight: 700; font-size: .92rem; }
.hero__trust span { display: inline-flex; gap: 8px; align-items: center; }
.hero__trust span::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(244,180,0,.16); color: var(--accent-2); }
.hero-visual { position: relative; min-height: 480px; }
.hero-visual__panel { position: absolute; inset: 34px 0 20px 30px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: rgba(255,255,255,.08); backdrop-filter: blur(12px); box-shadow: 0 30px 80px rgba(0,0,0,.25); overflow: hidden; }
.hero-visual__panel img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(6,19,38,.84); box-shadow: 0 18px 50px rgba(0,0,0,.25); backdrop-filter: blur(16px); }
.float-card strong { display: block; font-size: .95rem; }
.float-card small { color: rgba(255,255,255,.65); }
.float-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--accent); color: #1f1700; font-weight: 900; }
.float-card--one { left: 0; top: 8px; }
.float-card--two { right: -18px; bottom: 10px; }

.stats { margin-top: -48px; position: relative; z-index: 4; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 30px 36px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.7rem,3vw,2.45rem); line-height: 1; color: var(--navy); }
.stat span { display: block; margin-top: 10px; color: #667085; font-weight: 700; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; overflow: hidden; min-height: 380px; border-radius: var(--radius); background: var(--navy); color: white; box-shadow: var(--shadow-sm); }
.service-card img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .45s ease, opacity .3s ease; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,15,30,.98) 5%, rgba(4,15,30,.25) 65%, transparent 100%); }
.service-card__content { position: absolute; z-index: 2; left: 26px; right: 26px; bottom: 25px; }
.service-card__content p { color: rgba(255,255,255,.68); }
.service-card:hover img { transform: scale(1.06); opacity: .75; }
.service-card--wide { grid-column: span 2; }
.service-card__number { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 50%; background: var(--accent); color: #201700; font-weight: 900; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.media-frame { position: relative; }
.media-frame > img { width: 100%; min-height: 480px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-frame__badge { position: absolute; right: -22px; bottom: 28px; max-width: 220px; padding: 22px; border-radius: 18px; background: var(--accent); color: #271c00; box-shadow: var(--shadow-sm); }
.media-frame__badge strong { display: block; font-size: 2rem; line-height: 1; }
.check-list { display: grid; gap: 13px; margin: 24px 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; flex: 0 0 24px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #edf7f2; color: var(--success); font-weight: 900; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: process; }
.process-card { position: relative; min-height: 245px; padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.process-card::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 46px; color: var(--accent-2); font-size: .84rem; font-weight: 900; letter-spacing: .12em; }
.process-card h3 { color: white; }
.process-card p { color: rgba(255,255,255,.62); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 28px rgba(13,23,38,.04); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 13px; background: #fff5d8; color: #8a6100; font-weight: 900; }

.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.project-card { position: relative; overflow: hidden; min-height: 350px; grid-column: span 4; border-radius: var(--radius); background: var(--navy); }
.project-card:nth-child(1) { grid-column: span 7; }
.project-card:nth-child(2) { grid-column: span 5; }
.project-card img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .4s ease; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,19,38,.95), transparent 70%); }
.project-card__content { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: white; }
.project-card__content p { color: rgba(255,255,255,.65); }
.project-card:hover img { transform: scale(1.05); }

.review-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; align-items: stretch; }
.rating-box { padding: 38px; border-radius: var(--radius); background: var(--navy); color: white; }
.rating-box .stars { color: var(--accent-2); font-size: 1.35rem; letter-spacing: .15em; }
.rating-box strong { display: block; margin: 16px 0 8px; font-size: 2.3rem; }
.testimonial { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.testimonial blockquote { margin: 0 0 24px; font-size: clamp(1.22rem,2vw,1.7rem); line-height: 1.45; letter-spacing: -.02em; }

.cta-band { background: var(--accent); color: #221800; }
.cta-band__inner { min-height: 260px; display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 56px; }
.cta-band p { max-width: 650px; color: rgba(34,24,0,.72); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .button--ghost-light { color: #221800; border-color: rgba(34,24,0,.34); }

.site-footer { background: #061326; color: white; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 48px; padding-bottom: 56px; }
.brand--footer { margin-bottom: 18px; color: white; }
.brand--footer small { color: rgba(255,255,255,.52); }
.site-footer p, .site-footer address { color: rgba(255,255,255,.63); }
.site-footer h3 { font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 9px; }
.footer-links a, .site-footer address a { color: rgba(255,255,255,.68); }
.footer-links a:hover, .site-footer address a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 20px; }

.page-hero { position: relative; overflow: hidden; padding: 94px 0 86px; color: white; background: linear-gradient(125deg, #061326, #123862); }
.page-hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -160px; top: -210px; border: 90px solid rgba(244,180,0,.12); border-radius: 50%; }
.page-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 44px; }
.page-hero h1 { font-size: clamp(2.8rem,6vw,5rem); }
.page-hero p { color: rgba(255,255,255,.72); font-size: 1.12rem; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 18px; font-size: .88rem; color: rgba(255,255,255,.56); }
.breadcrumbs a:hover { color: white; }
.page-hero__art { justify-self: end; width: min(100%, 360px); }

.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 58px; }
.content-main > * + * { margin-top: 28px; }
.sidebar-card { position: sticky; top: 120px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-alt); }
.sidebar-card h3 { margin-bottom: 16px; }
.sidebar-card ul { display: grid; gap: 8px; }
.sidebar-card a { display: flex; padding: 10px 12px; border-radius: 9px; color: var(--ink-soft); font-weight: 700; }
.sidebar-card a:hover, .sidebar-card a.is-current { background: white; color: var(--blue); }
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.info-strip > div { padding: 24px; background: white; }
.info-strip strong { display: block; margin-bottom: 6px; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card { display: flex; gap: 15px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.contact-card strong { display: block; }
.contact-card p { margin: 3px 0 0; }
.form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #b8c2cf; border-radius: 10px; background: white; padding: 13px 14px; color: var(--ink); outline: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(45,108,223,.11); }
.field-error { border-color: var(--danger) !important; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--ink-soft); }
.checkbox input { margin-top: 5px; }
.form-message { min-height: 24px; color: var(--danger); font-weight: 700; }
.honeypot { position: absolute !important; left: -9999px !important; }

.notice { padding: 18px 20px; border-left: 4px solid var(--accent); border-radius: 8px; background: #fff8e5; }
.notice strong { display: block; }
.legal-content { max-width: 900px; }
.legal-content h2 { margin-top: 2em; font-size: 1.8rem; }
.legal-content h3 { margin-top: 1.5em; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .nav-cta { display: none; }
  .main-nav { gap: 8px; }
  .main-nav a, .main-nav button { padding-inline: 7px; font-size: .86rem; }
  .hero__inner { grid-template-columns: 1fr .82fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 1; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 860px) {
  .topbar__social { display: none; }
  .topbar__inner { justify-content: center; }
  .site-header__inner { min-height: 72px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 110px 14px auto 14px;
    display: block;
    max-height: calc(100vh - 128px);
    padding: 16px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .2s ease;
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav > ul { display: grid; align-items: stretch; }
  .main-nav a, .main-nav button { width: 100%; justify-content: space-between; padding: 12px; }
  .dropdown { position: static; min-width: 0; display: none; margin: 0 8px 8px; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; padding: 74px 0 120px; }
  .hero-visual { display: none; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .split, .contact-layout, .page-hero__inner, .content-grid, .review-panel { grid-template-columns: 1fr; }
  .page-hero__art { display: none; }
  .content-grid { gap: 28px; }
  .sidebar-card { position: static; }
  .projects { grid-template-columns: 1fr; }
  .project-card, .project-card:nth-child(1), .project-card:nth-child(2) { grid-column: auto; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .cta-band__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 72px 0; }
  .topbar { display: none; }
  .main-nav { inset-top: 76px; }
  .hero__inner { padding: 62px 0 105px; }
  .hero h1 { font-size: 2.7rem; }
  .button-row, .button-row .button { width: 100%; }
  .cards, .feature-grid, .process-grid, .footer-grid, .form-grid, .info-strip { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .media-frame > img { min-height: 350px; }
  .media-frame__badge { position: static; margin: -28px 18px 0; }
  .footer-bottom { flex-direction: column; }
  .cta-band__actions, .cta-band__actions .button { width: 100%; }
  .form-card { padding: 24px; }
}

/* Permanenter WhatsApp-Kontakt, auch auf Mobilgeräten. */
.whatsapp-float{position:fixed;right:24px;bottom:24px;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));width:60px;height:60px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#128c46;color:#fff;z-index:10000;box-shadow:0 5px 20px rgba(0,0,0,.24);border:2px solid #fff;transition:transform .18s,background .18s}
.whatsapp-float svg{width:32px;height:32px;display:block}.whatsapp-float:hover{background:#0d7439;color:#fff;transform:translateY(-2px)}.whatsapp-float:focus-visible{outline:3px solid #f4b400;outline-offset:4px}.footer-bottom{padding-bottom:90px}
@media(max-width:600px){.whatsapp-float{right:16px;bottom:16px;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));width:54px;height:54px}.whatsapp-float svg{width:29px;height:29px}}
@media(prefers-reduced-motion:reduce){.whatsapp-float{transition:none}}

/* ======================================================================
   ALPHAVOLTA – PHOTO-LED REFRESH 2026-09-22
   Struktur bleibt im bestehenden Projekt, visuell näher an der gewünschten
   Referenz: klare Navigation, Dunkelblau/Gelb, starke Leistungsfotos.
   ====================================================================== */

:root {
  --navy: #0b2f63;
  --navy-2: #123f73;
  --accent: #f4bf16;
  --accent-2: #ffd75d;
  --blue: #0b4f9c;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 10px 28px rgba(6, 35, 71, .10);
  --shadow: 0 20px 52px rgba(6, 35, 71, .16);
}

body { background:#fff; }
.topbar { background:#082957; }
.topbar__social { color:var(--accent-2); }
.site-header { background:rgba(255,255,255,.98); }
.site-header__inner { min-height:78px; }
.main-nav a, .main-nav button { position:relative; }
.main-nav a::after, .main-nav button::after {
  content:""; position:absolute; left:10px; right:10px; bottom:4px; height:3px;
  border-radius:4px; background:var(--accent); transform:scaleX(0); transform-origin:left;
  transition:transform .2s ease;
}
.main-nav a:hover::after, .main-nav button:hover::after, .main-nav .is-active::after { transform:scaleX(1); }
.dropdown a::after { display:none; }

.hero {
  min-height:680px;
  background:linear-gradient(125deg,#061b38 0%,#0a3266 68%,#0b3e7b 100%);
}
.hero::before {
  background:linear-gradient(90deg,rgba(5,23,48,.30),rgba(5,23,48,.03));
  mask-image:none;
}
.hero__inner { grid-template-columns:.92fr 1.08fr; gap:48px; padding:84px 0 112px; }
.hero h1 { font-size:clamp(3rem,5.4vw,5.2rem); max-width:720px; }
.hero-visual { min-height:520px; }
.hero-visual__panel {
  inset:18px 0 0 0; border-radius:18px; border:6px solid rgba(255,255,255,.08);
  background:#0d315f; box-shadow:0 30px 70px rgba(0,0,0,.28);
}
.hero-visual__panel img { opacity:.98; }
.float-card { border-radius:10px; }
.float-card--one { left:-22px; top:0; }
.float-card--two { right:-18px; bottom:-10px; }

.stats { margin-top:-42px; }
.stats__grid { border-radius:12px; }
.stat { padding:26px 30px; }
.stat strong { color:var(--navy); font-size:clamp(1.45rem,2.5vw,2.05rem); }

/* Leistungsübersicht wie eine klassische Elektro-Firmenwebsite: Foto oben, blauer Inhalt unten. */
.cards { grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
.service-card, .service-card--wide {
  display:grid; grid-template-rows:260px 1fr; min-height:0; grid-column:span 1;
  overflow:hidden; border:1px solid #d8e0ea; border-radius:12px; background:white;
  box-shadow:var(--shadow-sm); color:white;
}
.service-card img { width:100%; height:260px; object-fit:cover; opacity:1; transition:transform .38s ease; }
.service-card::after { display:none; }
.service-card__content {
  position:static; display:flex; flex-direction:column; align-items:flex-start; min-height:205px;
  padding:25px 26px 27px; background:linear-gradient(145deg,#0a2b59,#0c3976); color:white;
}
.service-card__content h3 { margin-bottom:10px; }
.service-card__content p { color:rgba(255,255,255,.78); flex:1; }
.service-card .text-link { color:var(--accent-2); }
.service-card:hover img { transform:scale(1.035); opacity:1; }
.service-card__number { width:31px; height:31px; font-size:.8rem; }

.section--dark { background:linear-gradient(135deg,#071f40,#0a3266); }
.process-card { border-radius:12px; }

.media-frame > img { min-height:520px; border-radius:14px; }
.media-frame__badge { border-radius:10px; }

/* Unterseiten: großflächiger fotografischer Kopfbereich mit klarer Textfläche. */
.page-hero {
  padding:70px 0;
  background:linear-gradient(130deg,#071f40,#0b3b78);
}
.page-hero::after { border-color:rgba(244,191,22,.10); }
.page-hero__inner { grid-template-columns:minmax(0,.88fr) minmax(360px,1.12fr); align-items:center; gap:54px; }
.page-hero h1 { font-size:clamp(2.8rem,5.3vw,4.75rem); }
.page-hero p { max-width:620px; }
.page-hero__art {
  justify-self:stretch; width:100%; height:360px; object-fit:cover; border-radius:14px;
  border:5px solid rgba(255,255,255,.09); box-shadow:0 24px 60px rgba(0,0,0,.24);
}

/* Inhaltskarten mit zugeordneten Bildern. */
.feature-grid { gap:22px; }
.feature-card { overflow:hidden; border-radius:12px; padding:26px; }
.feature-card__image {
  display:block; width:calc(100% + 52px); height:190px; object-fit:cover;
  margin:-26px -26px 23px; border-bottom:1px solid var(--line);
}
.feature-card .feature-icon { margin-bottom:16px; }

.content-grid { grid-template-columns:minmax(0,1fr) 295px; gap:50px; }
.content-main h2 { margin-top:46px; }
.sidebar-card { top:110px; border-radius:12px; background:#f5f8fc; }
.sidebar-card a:hover, .sidebar-card a.is-current { color:#082f63; }

/* Referenzen */
.projects { gap:22px; }
.project-card { border-radius:12px; min-height:360px; }
.project-card img { opacity:.9; }
.project-card::after { background:linear-gradient(to top,rgba(4,24,51,.97),rgba(4,24,51,.10) 78%); }

/* Kontakt */
.contact-card { border-radius:10px; }
.form-card { border-radius:12px; }
.field input, .field select, .field textarea { border-radius:7px; }

.cta-band { background:#f4bf16; }
.site-footer { background:#071d3b; }
.whatsapp-float { box-shadow:0 8px 28px rgba(0,0,0,.28); }

@media (max-width:1080px) {
  .cards { grid-template-columns:repeat(2,1fr); }
  .hero__inner { grid-template-columns:1fr 1fr; }
}

@media (max-width:860px) {
  .main-nav { top:116px; }
  .hero__inner { grid-template-columns:1fr; padding:66px 0 92px; }
  .hero-visual { min-height:430px; }
  .hero-visual__panel { inset:0; }
  .float-card--one { left:12px; }
  .float-card--two { right:12px; }
  .page-hero__inner { grid-template-columns:1fr; }
  .page-hero__art { display:block; height:300px; margin-top:10px; }
  .content-grid { grid-template-columns:1fr; }
}

@media (max-width:620px) {
  .main-nav { top:76px; }
  .cards { grid-template-columns:1fr; }
  .service-card, .service-card--wide { grid-template-rows:220px 1fr; }
  .service-card img { height:220px; }
  .service-card__content { min-height:190px; }
  .hero-visual { min-height:330px; }
  .float-card { display:none; }
  .page-hero { padding:54px 0; }
  .page-hero__art { height:230px; border-width:3px; }
  .feature-card__image { height:180px; }
}

/* FINAL 2026-09-22 refinements */
.float-card--brand .float-card__logo {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

.emergency-wrap { position: relative; z-index: 2; }
.emergency-banner {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg,#061326,#102f57 72%,#173f70);
  box-shadow: 0 18px 48px rgba(10,27,52,.18);
}
.emergency-banner__icon,
.emergency-panel__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: var(--accent);
  color: #201700;
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: -.02em;
}
.emergency-banner .eyebrow { margin-bottom: 6px; }
.emergency-banner h3 { margin-bottom: 6px; color: #fff; }
.emergency-banner p { margin: 0; color: rgba(255,255,255,.72); }
.emergency-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.emergency-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding: 30px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg,#061326,#123862);
  box-shadow: var(--shadow-sm);
}
.emergency-panel h2 { color: #fff; font-size: clamp(1.65rem,3vw,2.45rem); }
.emergency-panel p { color: rgba(255,255,255,.74); }
.emergency-panel .button-row { margin-top: 20px; }

.emergency-inline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid #ead89c;
  border-radius: 14px;
  background: linear-gradient(135deg,#fff9e9,#fff3c7);
}
.emergency-inline__badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: var(--navy);
  color: var(--accent-2);
  font-weight: 950;
}
.emergency-inline strong { display: block; margin-bottom: 3px; font-size: 1.05rem; color: var(--navy); }
.emergency-inline p { margin: 0; }
.emergency-inline__links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; }
.emergency-inline__links a { color: #173f70; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }

.checkbox a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkbox a::after { content: none !important; }

.job-quickfacts { margin-top: 18px; }
.job-apply-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button--outline { border: 1px solid var(--navy); background: transparent; color: var(--navy); }
.button--outline:hover { background: var(--navy); color: white; }

@media (max-width: 860px) {
  .emergency-banner { grid-template-columns: auto 1fr; }
  .emergency-banner__actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .emergency-banner, .emergency-panel, .emergency-inline { grid-template-columns: 1fr; }
  .emergency-banner__icon, .emergency-panel__icon, .emergency-inline__badge { width: 56px; height: 56px; }
}


/* FINAL 2026-09-22 v2: long service titles, contact hours and job postings */
.page-hero__inner > div:first-child { min-width:0; position:relative; z-index:3; }
.page-hero h1 {
  max-width:100%;
  margin-right:0;
  font-size:clamp(2.75rem,4.35vw,4.35rem);
  line-height:1.02;
  letter-spacing:-.045em;
  overflow-wrap:break-word;
  hyphens:auto;
}
.page-hero__art { min-width:0; }
.topbar__hours { margin-left:8px; opacity:.78; font-weight:500; white-space:nowrap; }
.job-listings { display:grid; gap:28px; margin-top:34px; }
.job-listing { border:1px solid var(--line); border-radius:16px; background:#fff; padding:34px; box-shadow:0 14px 34px rgba(4,31,66,.06); }
.job-listing__header { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; margin-bottom:20px; }
.job-listing__header h3 { margin:6px 0 6px; font-size:clamp(1.55rem,2vw,2rem); }
.job-listing__tag { flex:0 0 auto; background:#fff3cf; color:#7a5700; font-weight:800; border-radius:999px; padding:8px 12px; font-size:.82rem; }
.job-listing__grid { display:grid; grid-template-columns:1fr 1fr; gap:26px 34px; margin-top:24px; }
.job-listing h4 { margin:0 0 10px; font-size:1.02rem; }
.job-listing ul { margin:0; padding-left:1.15rem; }
.job-listing li + li { margin-top:7px; }
.job-listing__apply { margin-top:26px; padding-top:22px; border-top:1px solid var(--line); display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; }
@media (min-width:1081px) {
  .page-hero__inner { grid-template-columns:minmax(0,1.06fr) minmax(420px,.94fr); gap:42px; }
  .page-hero__art { height:350px; }
}
@media (max-width:1200px) and (min-width:861px) {
  .page-hero__inner { grid-template-columns:minmax(0,1fr) minmax(390px,.9fr); gap:34px; }
  .page-hero h1 { font-size:clamp(2.55rem,4.1vw,3.8rem); }
}
@media (max-width:860px) {
  .page-hero h1 { font-size:clamp(2.35rem,8vw,3.5rem); overflow-wrap:normal; }
  .job-listing__grid { grid-template-columns:1fr; }
  .topbar__hours { display:none; }
}
@media (max-width:620px) {
  .job-listing { padding:24px 20px; }
  .job-listing__header { flex-direction:column; }
}

body[data-page="communication"] .page-hero h1 { font-size:clamp(2.65rem,3.7vw,3.75rem); }
body[data-page="security"] .page-hero h1 { font-size:clamp(2.7rem,3.9vw,4rem); }
body[data-page="access"] .page-hero h1 { font-size:clamp(2.55rem,3.65vw,3.7rem); }


/* Content & typography refinement 2026-09-23 */
:root {
  --font-body-pro: "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display-pro: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
body {
  font-family: var(--font-body-pro);
  font-size: 16.5px;
  line-height: 1.72;
  letter-spacing: -0.006em;
  font-optical-sizing: auto;
}
h1, h2, h3, h4 {
  font-family: var(--font-display-pro);
  font-weight: 720;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { line-height: 1.04; }
h2 { line-height: 1.08; }
h3, h4 { line-height: 1.16; }
p { line-height: 1.74; }
.lead {
  line-height: 1.62;
  letter-spacing: -0.012em;
  font-weight: 450;
}
.section-heading { max-width: 820px; }
.feature-card p, .service-card__content p, .project-card__content p { line-height: 1.62; }
.main-nav a, .main-nav button, .button { letter-spacing: -0.008em; }
.brand strong { font-weight: 760; }
@media (max-width: 620px) {
  body { font-size: 16px; }
  .lead { line-height: 1.58; }
}


/* Layout fixes 2026-09-23: better image usage, cleaner headings, wider jobs CTA, stronger references */
.page-hero__inner {
  grid-template-columns: minmax(0,1fr) minmax(340px,.96fr);
  gap: clamp(28px,4vw,48px);
}
.page-hero h1 {
  font-size: clamp(2.55rem,4.05vw,4.1rem);
  line-height: 1.01;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
.page-hero p {
  max-width: 640px;
}
.page-hero__art {
  height: auto;
  aspect-ratio: 16 / 10;
  object-position: center;
}

body[data-page="communication"] .page-hero h1,
body[data-page="security"] .page-hero h1,
body[data-page="access"] .page-hero h1 {
  font-size: clamp(2.35rem,3.55vw,3.65rem);
}

.feature-grid {
  align-items: stretch;
}
.feature-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.feature-card__image {
  width: 100%;
  margin: 0 0 18px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 10px;
}
.feature-card h3 {
  margin-bottom: 10px;
}
.feature-card p {
  margin-top: 0;
}

/* Jobs: make lower right application panel wider and visually balanced */
.jobs-cta-grid {
  grid-template-columns: minmax(0,1.02fr) minmax(360px,.98fr);
  gap: 34px;
  align-items: start;
}
body[data-page="jobs"] .form-card {
  height: 100%;
}

/* References: make project photos use the available space better, with readable text below the image */
.projects {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.projects .project-card,
.projects .project-card:nth-child(1),
.projects .project-card:nth-child(2) {
  grid-column: auto;
}
.projects .project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid #dde4ed;
  background: #fff;
  box-shadow: 0 10px 26px rgba(12,35,64,.05);
}
.projects .project-card::after {
  display: none;
}
.projects .project-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 1;
}
.projects .project-card__content {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 20px 20px 22px;
  color: var(--ink);
}
.projects .project-card__content h3 {
  margin-bottom: 8px;
  color: var(--navy);
}
.projects .project-card__content p {
  color: var(--ink-soft);
}
.projects .project-card:hover img {
  transform: scale(1.02);
}

.major-projects {
  gap: 26px;
}
.major-project__photos img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

/* Slightly softer spacing for the contact form agreement row */
.checkbox {
  gap: 12px;
  align-items: flex-start;
}
.checkbox input {
  margin-top: 4px;
}

@media (max-width: 1180px) {
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .jobs-cta-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .page-hero h1 {
    font-size: clamp(2.2rem, 7vw, 3.3rem);
    text-wrap: pretty;
  }
  .page-hero__art {
    aspect-ratio: 16 / 9;
  }
  .feature-card {
    padding: 16px;
  }
}
@media (max-width: 740px) {
  .projects {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .feature-card__image,
  .projects .project-card img,
  .major-project__photos img {
    aspect-ratio: 4 / 3;
  }
}

/* Consent checkbox: separate the native control from text-field sizing. */
.form-card .field label.checkbox {
  display:flex; align-items:flex-start; gap:12px;
  font-weight:400; line-height:1.6; cursor:pointer;
}
.form-card .checkbox input[type="checkbox"] {
  flex:0 0 18px; width:18px; height:18px; min-width:18px;
  margin:3px 0 0; padding:0; accent-color:var(--blue);
  cursor:pointer; appearance:auto;
}
.form-card .checkbox span { flex:1; min-width:0; }
.form-card .checkbox input[type="checkbox"]:focus-visible {
  outline:2px solid var(--blue); outline-offset:3px;
}
.notice { line-height:1.7; }
.notice strong { margin-bottom:6px; }

/* Professional information cards */
.notice {
  position:relative;
  padding:26px 28px;
  border:1px solid #dce4ed;
  border-top:3px solid #123b68;
  border-left:1px solid #dce4ed;
  border-radius:12px;
  background:#fff;
  color:#46566a;
  box-shadow:0 6px 22px rgba(10,37,66,.055);
  font-size:1rem;
  line-height:1.75;
}
.notice strong {
  display:block;
  margin:0 0 12px;
  color:#0b294c;
  font-size:1.08rem;
  font-weight:700;
  line-height:1.4;
}
.notice a { color:#123b68; font-weight:600; text-underline-offset:3px; }
@media (max-width:600px) {
  .notice { padding:21px 20px; font-size:.95rem; }
  .notice strong { font-size:1.02rem; }
}


/* Local SEO service area 2026-09-26 */
.local-service-area .section-heading { max-width: 900px; }
.service-area-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-top:30px; }
.service-area-card { padding:22px; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:0 10px 24px rgba(8,31,61,.04); }
.service-area-card strong { display:block; margin-bottom:4px; color:var(--navy); font-size:1.08rem; }
.service-area-card span { display:block; color:var(--ink-soft); line-height:1.5; }
@media (max-width:900px) { .service-area-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .service-area-grid { grid-template-columns:1fr; } }
