/* ===== Selbst gehostete Schriften (Google Fonts lokal, DSGVO-konform) ===== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/space-grotesk-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/space-grotesk-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/space-grotesk-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/space-grotesk-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-grotesk-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/space-grotesk-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Tokens ===== */
:root {
  --blue-900: #1c1f5e;
  --blue-700: #282B81;
  --blue-500: #005BA7;
  --orange-600: #EC5600;
  --orange-500: #EF6B00;
  --orange-400: #F38C00;
  --grad-orange: linear-gradient(135deg, #EC5600 0%, #F38C00 100%);
  --grad-blue: linear-gradient(135deg, #282B81 0%, #005BA7 100%);

  --ink: #14182b;
  --body: #4a4f63;
  --muted: #8a8fa3;
  --line: #e7e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f6fa;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -22px rgba(20, 24, 43, 0.30);
  --shadow-sm: 0 8px 24px -12px rgba(20, 24, 43, 0.25);
  --container: 1180px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Space Grotesk', var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--grad-orange); color: #fff; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--font); font-size: 15px; transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  box-shadow: 0 12px 26px -12px rgba(236, 86, 0, .7);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 34px -14px rgba(236, 86, 0, .75); }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--ghost {
  background: transparent; color: #fff; box-shadow: none;
  border: 1.5px solid rgba(255,255,255,.55);
}
.btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn--light { background: #fff; color: var(--blue-900); box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }
.btn--light:hover { box-shadow: 0 18px 34px -14px rgba(0,0,0,.5); filter: none; background: #fff; }

/* ===== Section heads ===== */
.kicker {
  display: inline-block; font-family: var(--display); font-weight: 600;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 14px;
}
.kicker--light { color: #ffb066; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { color: var(--body); font-size: 17px; }
.section-head--light h2 { color: #fff; }

section { padding: 96px 0; }

/* ===== Topbar ===== */
.topbar { background: var(--blue-900); color: rgba(255,255,255,.85); font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar__left { display: flex; align-items: center; gap: 22px; }
.topbar__hours { display: flex; align-items: center; gap: 8px; }
.topbar__notruf { display: inline-flex; align-items: center; gap: 7px; color: #fff; transition: color .2s; }
.topbar__notruf .ico { fill: #f87171; }
.topbar__notruf strong { color: #f87171; font-weight: 700; }
.topbar__notruf:hover { color: #fff; }
.topbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__contact a:hover { color: #fff; }
.topbar__wa { color: #4ade80 !important; }
.ico { width: 15px; height: 15px; fill: currentColor; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 6px 24px -16px rgba(20,24,43,.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand__logo { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--ink); transition: color .2s; position: relative; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad-orange); transition: width .25s;
}
.nav a:not(.btn):hover { color: var(--orange-600); }
.nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; padding: 120px 0 100px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(20,22,55,.92) 0%, rgba(20,22,55,.72) 45%, rgba(28,31,94,.45) 100%); }
.hero__content { position: relative; z-index: 2; max-width: 760px; color: #fff; }
.hero__eyebrow { font-family: var(--display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; color: #ffb066; margin-bottom: 22px; }
.hero__title { font-size: clamp(38px, 6vw, 68px); color: #fff; margin-bottom: 24px; }
.hero__title .accent { background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero__partners { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.65); }
.hero__partners span { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.hero__partners strong { color: #fff; font-family: var(--display); }
.hero__partners i { color: var(--orange-400); font-style: normal; }

/* ===== Highlights ===== */
.highlights { background: var(--bg); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px; transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad-orange); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, rgba(236,86,0,.12), rgba(243,140,0,.12)); display: grid; place-items: center; margin-bottom: 24px; }
.card__icon svg { width: 32px; height: 32px; fill: var(--orange-600); }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { font-size: 15.5px; }

/* ===== About ===== */
.about { background: var(--bg-soft); }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about__badge {
  position: absolute; bottom: -26px; right: -10px; background: var(--grad-blue); color: #fff;
  border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: center; max-width: 320px;
}
.about__badge-num { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
.about__badge-text { font-size: 13px; color: rgba(255,255,255,.85); }
.about__text h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 20px; }
.about__text > p { font-size: 16.5px; margin-bottom: 28px; }
.usp { list-style: none; margin-bottom: 32px; }
.usp li { position: relative; padding-left: 38px; margin-bottom: 20px; font-size: 15px; }
.usp li strong { display: block; color: var(--ink); font-family: var(--display); font-size: 16px; margin-bottom: 3px; }
.usp li::before { content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 7px; background: var(--grad-orange); background-image: var(--grad-orange), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E"); background-size: cover; }
.about__note { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ===== Stats ===== */
.stats { background: var(--blue-900); position: relative; overflow: hidden; }
.stats::after { content: ''; position: absolute; top: -120px; right: -120px; width: 380px; height: 380px; background: var(--grad-orange); filter: blur(120px); opacity: .25; border-radius: 50%; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; z-index: 1; }
.stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 32px 28px; text-align: center; transition: transform .3s, background .3s; }
.stat:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); }
.stat__num { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.5vw, 48px); background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 8px; }
.stat__num--text { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.stat__label { color: rgba(255,255,255,.7); font-size: 14.5px; }

/* ===== Services list ===== */
.services { background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--bg); padding: 38px 32px; transition: background .3s; position: relative; }
.service:hover { background: var(--bg-soft); }
.service h3 { font-size: 19px; margin-bottom: 10px; padding-left: 18px; position: relative; }
.service h3::before { content: ''; position: absolute; left: 0; top: 4px; width: 5px; height: 18px; border-radius: 3px; background: var(--grad-orange); }
.service p { font-size: 15px; }

/* ===== Career ===== */
.career { position: relative; padding: 120px 0; overflow: hidden; }
.career__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.career__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,31,94,.94) 0%, rgba(28,31,94,.7) 60%, rgba(28,31,94,.4) 100%); }
.career__content { position: relative; z-index: 2; max-width: 620px; color: #fff; }
.career__content h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; }
.career__content p { color: rgba(255,255,255,.85); font-size: 17px; margin-bottom: 30px; }

/* ===== Certs ===== */
.certs { background: var(--bg-soft); }
.certs__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.certs__intro h2 { font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 18px; }
.certs__intro p { font-size: 16.5px; }
.certs__list { list-style: none; display: grid; gap: 16px; }
.certs__list li { display: flex; gap: 18px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; transition: transform .25s, box-shadow .25s; }
.certs__list li:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.certs__ico { flex: none; width: 28px; height: 28px; fill: #fff; background: var(--grad-orange); border-radius: 8px; padding: 4px; }
.certs__list strong { display: block; font-family: var(--display); color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.certs__list span { font-size: 14.5px; }

/* ===== Gallery ===== */
.gallery { background: var(--bg); padding-bottom: 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.gallery__grid figure { overflow: hidden; aspect-ratio: 1; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__grid figure:hover img { transform: scale(1.08); }

/* ===== Contact ===== */
.contact { background: var(--bg-soft); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact__info h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.contact__info > p { font-size: 16.5px; margin-bottom: 34px; }
.contact__list { list-style: none; display: grid; gap: 22px; margin-bottom: 30px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list svg { flex: none; width: 22px; height: 22px; fill: var(--orange-600); margin-top: 3px; }
.contact__list strong { display: block; font-family: var(--display); color: var(--ink); margin-bottom: 2px; font-size: 15px; }
.contact__list a:hover { color: var(--orange-600); }
.contact__social { display: flex; gap: 12px; }
.contact__social a { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-blue); display: grid; place-items: center; transition: transform .25s; }
.contact__social a:hover { transform: translateY(-3px); }
.contact__social svg { width: 20px; height: 20px; fill: #fff; }

.contact__form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--bg-soft); transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange-500); background: #fff; }
.field textarea { resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--body); margin-bottom: 22px; cursor: pointer; }
.checkbox input { margin-top: 3px; accent-color: var(--orange-600); }
.form-note { margin-top: 16px; text-align: center; color: #16a34a; font-weight: 600; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Footer ===== */
.footer { background: var(--blue-900); color: rgba(255,255,255,.7); padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__logo { height: 50px; width: auto; margin-bottom: 18px; }
.footer__tag { font-size: 14.5px; max-width: 280px; }
.footer__col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer__col p { font-size: 14.5px; margin-bottom: 12px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col ul a { font-size: 14.5px; transition: color .2s; }
.footer__col ul a:hover, .footer__col p a:hover { color: var(--orange-400); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ===== To top ===== */
.to-top { position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%; background: var(--grad-orange); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 24px; height: 24px; fill: #fff; }

/* ===== Cookie-Hinweis ===== */
.cookie {
  position: fixed; right: 24px; bottom: 24px; z-index: 130;
  max-width: 400px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px;
  opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease;
}
.cookie.show { opacity: 1; transform: none; }
.cookie__inner { display: flex; flex-direction: column; gap: 14px; }
.cookie__text { font-size: 14px; line-height: 1.6; color: var(--body); }
.cookie__text a { color: var(--orange-600); text-decoration: underline; }
.cookie__btn { align-self: flex-start; }
@media (max-width: 600px) {
  .cookie {
    right: 0; left: 0; bottom: 0; max-width: none;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .cookie.show { transform: none; }
  .cookie__btn { align-self: stretch; }
}

/* ===== Fiber / Digitalisierung ===== */
.fiber { position: relative; background: radial-gradient(circle at 70% 30%, #232a6b 0%, #14163a 55%, #0e1030 100%); overflow: hidden; }
.fiber::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: 46px 46px; mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 75%); }
.fiber__lines { position: absolute; inset: 0; pointer-events: none; }
.fiber__line { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,91,167,.5) 25%, rgba(0,91,167,.5) 75%, transparent); overflow: hidden; }
.fiber__line:nth-child(1) { top: 14%; } .fiber__line:nth-child(2) { top: 30%; } .fiber__line:nth-child(3) { top: 46%; }
.fiber__line:nth-child(4) { top: 62%; } .fiber__line:nth-child(5) { top: 78%; } .fiber__line:nth-child(6) { top: 92%; }
.fiber__line i { position: absolute; top: -2px; left: -120px; width: 120px; height: 5px; border-radius: 5px; background: linear-gradient(90deg, transparent, #F38C00, #EC5600); filter: blur(1px); box-shadow: 0 0 14px 2px rgba(243,140,0,.6); animation: fiberFlow 4.5s linear infinite; }
.fiber__line:nth-child(2) i { animation-duration: 6s; animation-delay: .8s; }
.fiber__line:nth-child(3) i { animation-duration: 3.6s; animation-delay: 1.6s; }
.fiber__line:nth-child(4) i { animation-duration: 5.4s; animation-delay: .4s; }
.fiber__line:nth-child(5) i { animation-duration: 4s; animation-delay: 2.2s; }
.fiber__line:nth-child(6) i { animation-duration: 6.6s; animation-delay: 1.1s; }
@keyframes fiberFlow { 0% { left: -120px; } 100% { left: 100%; } }
.fiber__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.fiber__text h2 { color: #fff; font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 20px; }
.accent-grad { background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fiber__text > p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 540px; margin-bottom: 30px; }
.fiber__features { display: grid; gap: 18px; margin-bottom: 34px; }
.fiber__feat { display: flex; gap: 16px; align-items: flex-start; }
.fiber__feat-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(0,91,167,.25); border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; }
.fiber__feat-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--orange-400); stroke-width: 1.6; }
.fiber__feat strong { display: block; color: #fff; font-family: var(--display); font-size: 16px; margin-bottom: 2px; }
.fiber__feat span { color: rgba(255,255,255,.6); font-size: 14.5px; }

.fiber__visual { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; width: 100%; }
.fiber__node { position: absolute; border-radius: 50%; }
.fiber__node--center { top: 50%; left: 50%; width: 92px; height: 92px; transform: translate(-50%, -50%); background: var(--grad-orange); display: grid; place-items: center; box-shadow: 0 0 50px rgba(236,86,0,.55); z-index: 3; }
.fiber__node--center svg { width: 40px; height: 40px; fill: #fff; }
.fiber__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(243,140,0,.6); animation: fiberPulse 3s ease-out infinite; }
.fiber__pulse:nth-child(3) { animation-delay: 1.5s; }
@keyframes fiberPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.8); opacity: 0; } }
.fiber__node:not(.fiber__node--center) { width: 16px; height: 16px; background: var(--blue-500); box-shadow: 0 0 0 5px rgba(0,91,167,.18), 0 0 18px rgba(0,91,167,.7); animation: nodeFloat 5s ease-in-out infinite; }
.fiber__node:not(.fiber__node--center)::after { content: ''; position: absolute; height: 2px; background: linear-gradient(90deg, rgba(0,91,167,.7), rgba(0,91,167,0)); top: 50%; transform-origin: left center; }
.fiber__node--1 { top: 10%; left: 12%; } .fiber__node--1::after { width: 150px; transform: rotate(33deg); }
.fiber__node--2 { top: 14%; right: 10%; left: auto; animation-delay: .6s; } .fiber__node--2::after { width: 150px; transform: rotate(140deg); }
.fiber__node--3 { bottom: 12%; left: 14%; top: auto; animation-delay: 1.2s; } .fiber__node--3::after { width: 150px; transform: rotate(-33deg); }
.fiber__node--4 { bottom: 10%; right: 12%; top: auto; left: auto; animation-delay: 1.8s; } .fiber__node--4::after { width: 150px; transform: rotate(-145deg); }
@keyframes nodeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===== Subtle extra animations ===== */
.about__badge { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.btn::after { content: ''; position: absolute; }
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.topbar .dot { animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ===== Subpage hero ===== */
.subhero { position: relative; background: var(--blue-900); padding: 130px 0 70px; overflow: hidden; }
.subhero::after { content: ''; position: absolute; top: -120px; right: -100px; width: 360px; height: 360px; background: var(--grad-orange); filter: blur(130px); opacity: .22; border-radius: 50%; }
.subhero__inner { position: relative; z-index: 1; }
.subhero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 14px; }
.subhero p { color: rgba(255,255,255,.75); font-size: 18px; max-width: 560px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--orange-400); }

/* Tiefbau.Cloud teaser */
.appad { padding: 0 0 90px; }
.appad__card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--grad-blue); color: #fff; padding: 48px 52px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  box-shadow: var(--shadow);
}
.appad__card::after {
  content: ''; position: absolute; bottom: -140px; left: -120px; width: 340px; height: 340px;
  background: var(--grad-orange); filter: blur(120px); opacity: .35; border-radius: 50%; z-index: 0;
}
.appad__body { position: relative; z-index: 1; }
.appad__badge {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.appad__title { color: #fff; font-size: clamp(30px, 4vw, 42px); margin-bottom: 14px; }
.appad__title span { background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.appad__text { color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.65; max-width: 540px; margin-bottom: 26px; }
.appad__visual { position: relative; z-index: 1; display: grid; place-items: center; min-height: 200px; }
.appad__glow { position: absolute; inset: 0; background: radial-gradient(circle at 60% 40%, rgba(255,255,255,.18), transparent 60%); }
.appad__device {
  position: relative; width: 230px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: 38px 22px 26px; backdrop-filter: blur(4px); box-shadow: 0 22px 50px -18px rgba(0,0,0,.55);
}
.appad__dot { position: absolute; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.45); }
.appad__dot:nth-child(1) { left: 16px; }
.appad__dot:nth-child(2) { left: 32px; }
.appad__dot:nth-child(3) { left: 48px; }
.appad__bar { height: 14px; border-radius: 6px; background: rgba(255,255,255,.16); margin-bottom: 12px; }
.appad__bar:first-of-type { background: var(--grad-orange); width: 70%; }
.appad__bar--short { width: 55%; }

@media (max-width: 760px) {
  .appad__card { grid-template-columns: 1fr; padding: 38px 28px; gap: 28px; }
  .appad__visual { min-height: 0; }
}

/* ===== Team ===== */
.team { background: var(--bg); }
.team__group { margin-bottom: 56px; }
.team__group-head { display: flex; align-items: center; justify-content: center; text-align: center; gap: 16px; margin-bottom: 26px; }
.team__group-head h2 { font-size: 22px; }
.team__group-head::before,
.team__group-head::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.team__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.member { flex: 0 1 240px; max-width: 240px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: transform .3s, box-shadow .3s, border-color .3s; }
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.member__photo { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden; background: var(--bg-soft); box-shadow: 0 0 0 4px var(--bg-soft), 0 0 0 5px var(--line); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.member:hover .member__photo img { transform: scale(1.06); }
.member__name { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.member__role { font-size: 14px; color: var(--muted); line-height: 1.4; }
.member__phone { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--muted); transition: color .2s; }
.member__phone svg { width: 13px; height: 13px; flex: none; fill: currentColor; opacity: .75; }
.member__phone:hover { color: var(--orange-600); }

/* ===== Team Org-Chart (Projektleiter FTTH) ===== */
.org { display: flex; flex-direction: column; align-items: center; }
.org .member { flex: 0 0 240px; }
.org__lead { position: relative; }
.org__lead::after { content: ''; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: 2px; height: 34px; background: var(--line); }
.org__reports { display: flex; justify-content: center; gap: 56px; margin-top: 34px; padding-top: 34px; position: relative; }
.org__reports::before { content: ''; position: absolute; top: 0; left: 120px; right: 120px; height: 2px; background: var(--line); }
.org__reports .member { position: relative; }
.org__reports .member::before { content: ''; position: absolute; left: 50%; top: -34px; transform: translateX(-50%); width: 2px; height: 34px; background: var(--line); }
@media (max-width: 600px) {
  .org__lead::after { display: none; }
  .org__reports { flex-direction: column; align-items: center; gap: 0; margin-top: 0; padding-top: 0; }
  .org__reports::before { display: none; }
  .org__reports .member { margin-top: 34px; }
}

/* ===== Legal page ===== */
.legal { background: var(--bg); }
.legal__wrap { max-width: 760px; margin: 0 auto; }
.legal__wrap h2 { font-size: 22px; margin: 40px 0 14px; }
.legal__wrap h2:first-child { margin-top: 0; }
.legal__wrap p { margin-bottom: 14px; font-size: 16px; }
.legal__wrap a { color: var(--orange-600); }
.legal__card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 8px; }
.legal__card p { margin-bottom: 6px; }
.legal__label { display: block; font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about__grid, .certs__grid, .contact__grid, .fiber__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__badge { right: 20px; }
  .cards, .stats__grid, .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .fiber__visual { order: -1; max-width: 320px; }
}
@media (max-width: 760px) {
  section { padding: 70px 0; }

  /* Topbar – umbrechen statt überlaufen */
  .topbar { font-size: 12.5px; }
  .topbar__hours { display: none; }
  .topbar__inner {
    height: auto; min-height: 40px; flex-wrap: wrap; justify-content: center;
    gap: 3px 16px; padding: 6px 0;
  }
  .topbar__left, .topbar__contact { gap: 14px; flex-wrap: wrap; justify-content: center; }

  /* Mobile-Navigation – vollflächiges Overlay, kein horizontaler Überlauf */
  .nav {
    position: fixed; top: 0; right: 0; width: min(82%, 320px); height: 100vh; height: 100dvh;
    background: #fff; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 96px 28px 32px; overflow-y: auto; z-index: 110;
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.5);
    transform: translateX(110%); transition: transform .35s ease; visibility: hidden;
  }
  .nav.open { transform: translateX(0); visibility: visible; }
  .nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a.btn { margin-top: 16px; border: none; justify-content: center; }
  .nav-toggle { display: flex; position: relative; z-index: 120; }

  /* Layout */
  .hero { min-height: auto; padding: 80px 0 64px; }
  .subhero { padding: 90px 0 56px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cards, .services__grid, .gallery__grid, .team__grid { grid-template-columns: 1fr 1fr; }
  /* Stats: minmax(0,1fr) verhindert, dass grosse Zahlen die Spalten sprengen */
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .stat { padding: 26px 16px; }
  .stat__num { font-size: clamp(26px, 6.5vw, 44px); }
  .field-row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 22px; }
  .team__group-head h2 { white-space: normal; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .cards, .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat { padding: 20px 12px; }
  .stat__num { font-size: clamp(20px, 5.8vw, 38px); }
  .stat__label { font-size: 12.5px; }
  .team__grid { grid-template-columns: 1fr; }
  .about__badge { position: static; margin-top: 20px; right: auto; max-width: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
