/* Volt & Watt Electrics - Stylesheet*/
/* © 2026 Volt & Watt Electrics - Staud & Mader OG*/

/* Designvariablen */
:root {
  /* Markenfarben */
  --color-brand: #181953;
  --color-navy-900: #14153f;
  --color-navy-800: #151648;
  --color-navy-700: #0f0f3c;
  --color-accent: #f26522;
  --color-accent-dark: #d4521a;
  --color-accent-text: #c2410c;
  --color-accent-soft: #fff1e8;
  --color-bg: #f2f3fa;
  --color-surface: #ffffff;
  --color-text: #1c2533;
  --color-muted: #5b6678;
  --color-border: #dfe1f0;
  --color-success: #1f8a4c;
  --color-danger: #b3362b;

  /* Schriftarten */
  --font-base: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Abstände */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  /* Weitere Gestaltungseinstellungen */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(20, 21, 63, 0.08);
  --shadow-md: 0 8px 24px rgba(20, 21, 63, 0.12);
  --container: 1240px;
  --header-h: 80px;
}


/* Grundlegende Seiteneinstellungen */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-2);
  line-height: 1.2;
  color: var(--color-navy-900);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.5vw + 0.5rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.5vw + 0.6rem, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 var(--space-2); }
a { color: var(--color-navy-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-dark); }

ul { padding-left: 1.2rem; }

/* Tastaturfokus */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}


/* Layout und Hilfsklassen */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-2);
}

.section { padding-block: 3rem; }
@media (min-width: 900px) { .section { padding-block: 3.75rem; } }
.section--white { background: var(--color-surface); }
.section--dark { background: var(--color-navy-900); color: #d7deea; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: var(--space-3); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-1);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-text);
}
.section--dark .eyebrow { color: var(--color-accent); }

.lead { font-size: 1.15rem; color: var(--color-muted); }

.grid { display: grid; gap: var(--space-3); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

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


/* Header und Navigation */
.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -100px;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--color-accent);
  color: var(--color-navy-900);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--space-1); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-2);
}

.brand img { height: 54px; width: auto; }

/* Mobiler Menüschalter */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy-900);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* Mobiles Navigationsmenü */
.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.main-nav.is-open { display: block; }

.main-nav ul { list-style: none; margin: 0; padding: var(--space-1) var(--space-2) var(--space-2); }
.main-nav a {
  display: block;
  padding: 0.85rem 0.5rem;
  font-weight: 600;
  color: var(--color-navy-900);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}
.main-nav li:last-child a { border-bottom: 0; }
.main-nav a:hover { color: var(--color-accent-dark); }
.main-nav a[aria-current="page"] { color: var(--color-accent-dark); }

/* Desktop-Navigation */
@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .main-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .main-nav ul { display: flex; gap: 0.25rem; padding: 0; }
  .main-nav a {
    padding: 0.55rem 0.9rem;
    border-bottom: 0;
    border-radius: var(--radius-sm);
  }
  .main-nav a:hover { background: var(--color-bg); }
  .main-nav a[aria-current="page"] {
    background: var(--color-navy-900);
    color: #fff;
  }
}


/* Hero-Bereich und Seitenkopf */
.hero {
  position: relative;
  overflow: hidden;
  color: #d7deea;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(242, 101, 34, 0.28), transparent 60%),
    linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
}

/* Hintergrundraster im Hero-Bereich */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero-inner {
  position: relative;
  display: grid;
  gap: var(--space-4);
  padding-block: var(--space-4);
  align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 span { color: var(--color-accent); }
.hero .lead { color: #c3cddd; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

.hero-card {
  position: relative;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
}

/* Logodarstellung im Hero-Bereich */
.hero-logo {
  display: grid;
  place-items: center;
  padding: var(--space-3);
  margin-bottom: var(--space-3);
  background: #fff;
  border-radius: var(--radius-sm);
}
.hero-logo img { width: min(100%, 340px); height: auto; }
.hero-card h2 { font-size: 1.2rem; color: #fff; }
.hero-card ul { list-style: none; margin: 0 0 var(--space-2); padding: 0; }
.hero-card li { padding: 0.35rem 0; }
.hero-card a { color: #fff; font-weight: 600; text-decoration: none; }
.hero-card a:hover { color: var(--color-accent); }
.hero-card small { display: block; color: #9fb0c8; }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.3fr 1fr; padding-block: var(--space-5); }
}

/* Seitenkopf der Unterseiten */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-4) 2rem;
  color: #d7deea;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(242, 101, 34, 0.28), transparent 60%),
    linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
  border-bottom: 4px solid var(--color-accent);
}

/* Hintergrundraster wie im Hero-Bereich der Startseite */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
  pointer-events: none;
}

/* Inhalt über dem Raster halten */
.page-hero > .container { position: relative; }

.page-hero h1 { color: #fff; margin-bottom: var(--space-1); font-size: clamp(1.9rem, 3.5vw + 0.5rem, 2.8rem); }
.page-hero p { max-width: 62ch; margin: 0; color: #c3cddd; font-size: 1.1rem; }


/* Buttons und Statusanzeigen */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--color-accent); color: var(--color-navy-900); }
.btn--primary:hover { background: var(--color-accent-dark); color: var(--color-navy-900); }

.btn--outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--color-navy-900); }

.btn--dark { background: var(--color-navy-900); color: #fff; }
.btn--dark:hover { background: var(--color-navy-700); color: #fff; }

/* Öffnungsstatus */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8693a8;
}
.badge[data-state="open"]::before   { background: #38d27a; }
.badge[data-state="closed"]::before { background: #ff7a6e; }
.badge--light { background: var(--color-bg); color: var(--color-text); }


/* Karten und Leistungsübersicht */
.card {
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }

.service { transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.service p { color: var(--color-muted); font-size: 0.98rem; }

/* Symbolfelder für Leistungen */
.icon-box {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-2);
  color: var(--color-navy-900);
  background: var(--color-accent);
  border-radius: 14px;
}
.icon-box svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Informationsleiste unter dem Hero-Bereich */
.facts { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.facts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-3) 0;
  list-style: none;
  text-align: center;
}
.facts-list strong { display: block; font-size: 1.7rem; line-height: 1.2; font-weight: 800; color: var(--color-brand); }
.facts-list span { font-size: 0.95rem; color: var(--color-muted); }

/* Karten für dunkle Hintergrundbereiche */
.card--dark { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
.card--dark h3 { color: #fff; }
.card--dark p { color: #c3c6e6; }
.card-link { display: inline-block; margin-top: var(--space-1); font-weight: 700; }

/* Hervorgehobener Handlungsaufruf */
.cta {
  display: grid;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4);
  background: linear-gradient(135deg, var(--color-navy-800), var(--color-navy-700));
  border-left: 6px solid var(--color-accent);
  border-radius: var(--radius);
  color: #d7deea;
}
.cta h2 { color: #fff; margin-bottom: 0.4rem; }
.cta p { margin: 0; }
@media (min-width: 800px) { .cta { grid-template-columns: 1fr auto; } }


/* Projektübersicht */
.project-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-grid { gap: var(--space-2); }
@media (min-width: 700px)  { .project-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); } }
@media (min-width: 1000px) { .project-grid { grid-template-columns: repeat(4, 1fr); } }

.project-card {
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }

.project-card-media { overflow: hidden; aspect-ratio: 1 / 1; background: var(--color-navy-800); }
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.project-card:hover .project-card-media img { transform: scale(1.06); }

.project-card-body { padding: var(--space-1) var(--space-2) var(--space-2); }
.project-card-body h3 { margin-bottom: 0.2rem; font-size: 1.02rem; }
.project-card-body p { margin: 0; font-size: 0.92rem; color: var(--color-muted); }

/* Bildergalerie auf Projektseiten */
.gallery {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.back-link { display: inline-block; margin-top: var(--space-3); font-weight: 600; }


/* Teamübersicht */
.team-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--color-navy-800);
}
.team-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s;
}
.team-grid figure:hover img { transform: scale(1.06); }

/* Unternehmenswerte */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.values li { padding-left: 1.6rem; position: relative; }
.values li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--color-accent);
  border-radius: 50%;
}


/* Kontaktbereich und Standortkarte */
.person { text-align: left; }
.person-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-2);
  font-weight: 800;
  color: var(--color-navy-900);
  background: var(--color-accent);
  border-radius: 50%;
}
.person .role { color: var(--color-muted); font-size: 0.95rem; margin-bottom: var(--space-1); }
.person a { font-weight: 600; word-break: break-word; }
.contact-lines { margin: 0; padding: 0; list-style: none; }
.contact-lines li { padding: 0.15rem 0; }

/* Darstellung der Standortkarte */
.map {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--color-navy-800);
  border-radius: var(--radius);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  text-align: center;
  color: #d7deea;
}
.map-placeholder p { max-width: 44ch; margin: 0; font-size: 0.95rem; }
.map-placeholder a { color: var(--color-accent); }

/* Kontaktinformationen und Karte nebeneinander */
.directions { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .directions { grid-template-columns: 1fr 1.3fr; align-items: stretch; } }


/* Öffnungszeiten */
.hours {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.hours caption { padding-bottom: var(--space-2); text-align: left; font-weight: 700; }
.hours th, .hours td { padding: 0.9rem 1.2rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; }
.hours .is-closed td { color: var(--color-muted); }

/* Kennzeichnung des aktuellen Wochentags */
.hours tr.is-today { background: var(--color-accent-soft); box-shadow: inset 4px 0 0 var(--color-accent); }
.hours tr.is-today th::after {
  content: "Heute";
  margin-left: 0.6rem;
  padding: 0.1rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-accent);
  border-radius: 999px;
}

.note {
  max-width: 560px;
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
}
.note p { margin: 0; }

/* Zweispaltige Inhaltsbereiche */
.split { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }


/* Karrierebereich */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 0.4rem 0 0.4rem 2rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--color-accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314153f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12 10 17 19 7'/%3E%3C/svg%3E")
    center / 70% no-repeat;
}
.career-image { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }


/* Rechtliche Informationen */
.legal { max-width: none; }
.legal h2 { font-size: 1.3rem; margin-top: var(--space-4); }
.facts-table { margin: 0; }
.facts-table div {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
}
.facts-table dt { font-weight: 700; color: var(--color-navy-900); }
.facts-table dd { margin: 0; }
@media (min-width: 640px) { .facts-table div { grid-template-columns: 240px 1fr; gap: var(--space-2); } }


/* Footer */
.site-footer { border-top: 4px solid var(--color-accent); background: var(--color-navy-900); color: #b4c0d4; font-size: 0.97rem; }
.footer-main { display: grid; gap: var(--space-4); padding-block: var(--space-4); }
@media (min-width: 800px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-footer h2 { margin-bottom: var(--space-1); font-size: 1.05rem; color: #fff; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { padding: 0.2rem 0; }
.site-footer a { color: #d7deea; text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); text-decoration: underline; }
.site-footer address { font-style: normal; }
.footer-logo { display: inline-block; margin-bottom: var(--space-2); padding: 0.8rem 1.2rem; background: #fff; border-radius: var(--radius-sm); }
.footer-logo img { width: 150px; height: auto; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  justify-content: space-between;
  padding-block: var(--space-2);
  font-size: 0.9rem;
}
.footer-bottom ul { display: flex; gap: var(--space-3); }


/* Animationen und Barrierefreiheit */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Einblendeffekt beim Scrollen */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Berücksichtigung reduzierter Animationen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* Druckansicht */
@media print {
  .site-header, .site-footer, .hero-actions, .cta, .map { display: none; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1rem; }
}


/* Unternehmensgeschichte */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }

/* Vertikale Verbindungslinie */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11px;
  width: 3px;
  background: var(--color-border);
  border-radius: 3px;
}
.timeline-item { position: relative; padding: 0 0 var(--space-4) 3rem; }
.timeline-item:last-child { padding-bottom: 0; }

/* Markierung der einzelnen Zeitabschnitte */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 26px;
  height: 26px;
  background: var(--color-accent);
  border: 6px solid var(--color-bg);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--color-accent);
}
.section--white .timeline-item::before { border-color: var(--color-surface); }

.timeline-year {
  display: inline-block;
  margin-bottom: var(--space-1);
  padding: 0.15rem 0.8rem;
  font-weight: 800;
  color: var(--color-navy-900);
  background: var(--color-accent);
  border-radius: 999px;
}
.timeline-body { display: grid; gap: var(--space-3); }
.timeline-photos {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.timeline-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Zweispaltige Darstellung der Zeitabschnitte */
@media (min-width: 900px) {
  .timeline-body { grid-template-columns: 1fr 1.25fr; align-items: start; }
  .timeline-photos { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
}


/* Layout für rechtliche Dokumente */
.legal-layout { display: grid; gap: var(--space-3); }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 290px 1fr; align-items: start; gap: var(--space-4); } }

/* Inhaltsverzeichnis */
.toc {
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}
.toc h2 { margin-bottom: var(--space-1); font-size: 1.05rem; }
.toc ol { margin: 0; padding-left: 1.4rem; }
.toc li { padding: 0.15rem 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (min-width: 560px) and (max-width: 959px) { .toc ol { columns: 2; column-gap: var(--space-3); } }
@media (min-width: 960px) {
  .toc { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; }
}

/* Darstellung rechtlicher Dokumente */
.legal-doc { padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow-wrap: anywhere; }
@media (max-width: 560px) { .legal-doc { padding: var(--space-3) var(--space-2); } }
.legal-doc > section + section { margin-top: var(--space-4); }
.legal-doc h2 { margin-bottom: var(--space-1); font-size: 1.35rem; }
.legal-doc h3 { margin: var(--space-3) 0 0.4rem; font-size: 1.05rem; }
.legal-doc .note { max-width: none; margin-bottom: var(--space-3); }
.legal-doc address { font-style: normal; }
.legal-doc ul { margin: 0 0 var(--space-2); }

/* Nummerierte Vertragsabschnitte */
.clause { display: grid; grid-template-columns: 3.4rem 1fr; gap: 0.5rem; margin: 0 0 0.7rem; }
.clause-no { font-weight: 700; color: var(--color-brand); }
.clause p { margin: 0; }

/* Kennzeichnung noch auszufüllender Angaben */
mark.fill {
  padding: 0 0.35em;
  color: inherit;
  background: var(--color-accent-soft);
  outline: 1px dashed var(--color-accent);
  border-radius: 3px;
}


/* Projektfilter und Detailseiten */
[hidden] { display: none !important; }

/* Filterleiste der Projektübersicht */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-3); }
.filter button {
  padding: 0.5rem 1.1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy-900);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter button:hover { border-color: var(--color-accent); }
.filter button[aria-pressed="true"] { color: #fff; background: var(--color-navy-900); border-color: var(--color-navy-900); }

/* Kopfbereich der Projekt-Detailseiten */
.proj-hero {
  position: relative;
  overflow: hidden;
  color: #d7deea;
  background:
    radial-gradient(600px 360px at 90% 0%, rgba(242, 101, 34, 0.25), transparent 60%),
    linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
  border-bottom: 4px solid var(--color-accent);
}
.proj-hero-inner { display: grid; gap: var(--space-3); align-items: center; padding-block: var(--space-3) var(--space-4); }
@media (min-width: 720px) { .proj-hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-4); padding-block: var(--space-4); } }

/* Breadcrumb-Navigation */
.crumbs { margin-bottom: var(--space-2); font-size: 0.9rem; color: #aab0dc; }
.crumbs a { color: #d7deea; text-decoration: none; }
.crumbs a:hover { color: var(--color-accent); text-decoration: underline; }

/* Projektkategorien */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-2); }
.chip {
  padding: 0.2rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
.chip--accent { color: var(--color-navy-900); background: var(--color-accent); }

.proj-hero h1 { color: #fff; font-size: clamp(1.8rem, 3vw + 0.6rem, 2.8rem); }
.proj-hero .lead { margin: 0; font-size: 1.05rem; color: #c3cddd; }

/* Titelbild eines Projekts */
.proj-cover { position: relative; margin: 0; }
.proj-cover::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 3px solid var(--color-accent);
  border-radius: var(--radius);
}
@media (min-width: 720px) { .proj-cover img { aspect-ratio: 1 / 1; max-height: 420px; } }
.proj-cover img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--color-navy-800);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Projektbeschreibung und Steckbrief */
.proj-layout { display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .proj-layout { grid-template-columns: 1.5fr 1fr; align-items: start; } }

.proj-story h2 { font-size: 1.4rem; }
.proj-story p { font-size: 1.02rem; }
.proj-story .lead-big {
  padding-left: var(--space-2);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-navy-900);
  border-left: 4px solid var(--color-accent);
}

/* Projektkennzahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: var(--space-2); margin: var(--space-3) 0 0; }
.stat { padding: var(--space-2); text-align: center; background: var(--color-navy-900); border-radius: var(--radius); }
.stat strong { display: block; font-size: 1.8rem; line-height: 1.1; color: var(--color-accent); }
.stat span { font-size: 0.9rem; color: #c3c6e6; }

/* Technische Projektdaten */
.proj-facts { border-top: 4px solid var(--color-accent); }
@media (min-width: 760px) { .proj-facts { position: sticky; top: calc(var(--header-h) + 1rem); } }
.proj-facts h2 { margin-bottom: var(--space-1); font-size: 1.15rem; }
.proj-facts h3 { margin: var(--space-3) 0 var(--space-1); font-size: 1rem; }
.spec { margin: 0; }
.spec div { padding: 0.45rem 0; border-bottom: 1px solid var(--color-border); }
.spec dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); }
.spec dd { margin: 0; font-weight: 600; }
.proj-facts .btn { width: 100%; margin-top: var(--space-3); }

/* Projektbildergalerie */
.proj-gallery { display: grid; gap: 0.6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .proj-gallery { grid-template-columns: repeat(3, 1fr); } }

/* Spaltenanzahl abhängig von der Bilderanzahl */
@media (min-width: 900px) { .proj-gallery { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 0.75rem; } }
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--color-navy-800);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
  content: "+";
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-navy-900);
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.25s, transform 0.25s;
}
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: none; }

/* Vergrößerte Bildansicht */
dialog.lightbox {
  width: min(96vw, 1100px);
  max-width: none;
  padding: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
  border: 0;
}
dialog.lightbox::backdrop { background: rgba(10, 11, 40, 0.9); }
.lightbox figure { display: grid; gap: 0.6rem; justify-items: center; margin: 0; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; background: #000; border-radius: var(--radius-sm); }
.lightbox figcaption { font-size: 0.95rem; color: #d7dcf5; text-align: center; }
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  font: inherit;
  font-size: 1.5rem;
  color: #fff;
  background: rgba(20, 21, 63, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  cursor: pointer;
}
.lightbox button:hover { background: var(--color-accent); color: var(--color-navy-900); }
.lightbox-close { top: -3.5rem; right: 0; }
.lightbox-prev  { top: 40%; left: 0.5rem; }
.lightbox-next  { top: 40%; right: 0.5rem; }

/* Navigation zwischen Projekten */
.proj-nav { display: grid; gap: var(--space-2); }
@media (min-width: 560px) { .proj-nav { grid-template-columns: 1fr 1fr; } }
.proj-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem;
  color: inherit;
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.proj-nav a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.proj-nav a.next { flex-direction: row-reverse; text-align: right; }
.proj-nav img { flex: none; width: 64px; height: 64px; object-fit: cover; background: var(--color-navy-800); border-radius: var(--radius-sm); }
.proj-nav small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent-text); }
.proj-nav strong { color: var(--color-navy-900); }

/* Druckansicht der Projektseiten */
@media print {
  .proj-hero { color: #000; background: none; border-bottom: 2px solid #999; }
  .proj-hero h1, .proj-hero .lead, .crumbs, .crumbs a { color: #000; }
  .chip { color: #000; background: none; border: 1px solid #999; }
  .proj-cover::before, .lightbox, .proj-nav { display: none; }
  .proj-layout, .proj-hero-inner { grid-template-columns: 1.4fr 1fr; }
  .proj-gallery { grid-template-columns: repeat(3, 1fr); }
  .proj-facts { position: static; }
  .stat { border: 1px solid #999; background: none; }
  .stat strong { color: #000; }
  .stat span { color: #333; }
}


/* Text-Bild-Kombinationen */
.split--media { --media-width: 400px; }
.split--media .career-image { width: 100%; max-width: var(--media-width); justify-self: center; }
@media (min-width: 900px) {
  .split--media { grid-template-columns: 1fr var(--media-width); align-items: center; }
  .split--media .career-image { justify-self: end; }
}

.hero-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  gap: 0.25rem;
  margin-right: 2rem;
  margin-top: -1.0rem;
}

.hero-qr img {
  width: 130px;
  height: 130px;
  
  padding: 2px;
  border-radius: 8px;
}


/* ==========================================================
   Team-Seite (Team.html)
   ========================================================== */

/* Kompaktere Abstände zwischen den Abschnitten */
.team-page .section { padding-block: 2rem; }
@media (min-width: 900px) { .team-page .section { padding-block: 2.5rem; } }

/* Hinweis auf Ellie im Seitenkopf */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-2);
  padding: 0.35rem 1rem 0.35rem 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.hero-pill:hover { background: var(--color-accent); color: var(--color-navy-900); transform: translateY(-2px); }
.hero-pill-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
  background: var(--color-accent);
  border-radius: 50%;
}

/* Einleitung mit Werte-Karten */
.team-intro { display: grid; gap: var(--space-3); align-items: start; }
@media (min-width: 900px) { .team-intro { grid-template-columns: 1fr 1.3fr; gap: var(--space-4); } }
.team-intro h2 { margin-bottom: 0.6rem; }

.team-values {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 560px) { .team-values { grid-template-columns: repeat(2, 1fr); } }
.value-card { border-top: 4px solid var(--color-accent); }
.value-card p { font-size: 0.97rem; }
.value-num {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-accent);
  background: var(--color-navy-900);
  border-radius: 50%;
}

/* Ellie-Teaser in der Einleitung */
.ellie-teaser {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  color: inherit;
  text-decoration: none;
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ellie-teaser:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: inherit; }
.ellie-teaser img {
  flex: none;
  width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: 50% 40%;
  border: 3px solid var(--color-accent);
  border-radius: 50%;
}
.ellie-teaser strong { display: block; line-height: 1.3; color: var(--color-navy-900); }
.ellie-teaser small { font-size: 0.93rem; color: var(--color-muted); }

/* Teamfotos: erstes Bild groß, Rest als Raster */
.team-mosaic {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
.team-mosaic figure {
  margin: 0;
  overflow: hidden;
  background: var(--color-navy-800);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.team-mosaic img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s;
}
.team-mosaic figure:hover img { transform: scale(1.06); }
.team-mosaic figure:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.team-mosaic figure:first-child img { aspect-ratio: auto; }

@media (min-width: 900px) {
  .team-mosaic { grid-template-columns: repeat(4, 1fr); }
  .team-mosaic figure:first-child { position: relative; grid-row: span 2; aspect-ratio: auto; }
  .team-mosaic figure:first-child img { position: absolute; inset: 0; }
}

/* Ellie-Bereich */
.ellie-grid { display: grid; gap: var(--space-3); align-items: center; }
@media (min-width: 900px) { .ellie-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-4); } }

.ellie-photo { position: relative; width: 100%; max-width: 420px; margin: 0; justify-self: center; }
.ellie-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.ellie-stamp {
  position: absolute;
  right: 0.75rem;
  bottom: 1.25rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-navy-900);
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transform: rotate(-6deg);
}

.ellie-text h2 { margin-bottom: 0.6rem; }
.ellie-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.25rem 0 0; padding: 0; list-style: none; }
.ellie-chips li {
  padding: 0.2rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-navy-900);
  background: var(--color-accent);
  border-radius: 999px;
}
.ellie-motto {
  margin: var(--space-2) 0 0;
  padding-left: var(--space-2);
  font-weight: 700;
  color: #fff;
  border-left: 4px solid var(--color-accent);
}
.ellie-facts {
  margin: var(--space-3) 0 0;
  padding: 0.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}
.ellie-facts div { display: grid; gap: 0.1rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.ellie-facts div:last-child { border-bottom: 0; }
.ellie-facts dt { font-weight: 700; color: var(--color-accent); }
.ellie-facts dd { margin: 0; }
@media (min-width: 560px) { .ellie-facts div { grid-template-columns: 9rem 1fr; gap: var(--space-2); } }

.ellie-strip { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); margin-top: var(--space-3); }
@media (min-width: 700px) { .ellie-strip { grid-template-columns: repeat(4, 1fr); } }
.ellie-strip figure { margin: 0; }
.ellie-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.4s;
}
.ellie-strip figure:hover img { transform: translateY(-4px); }
.ellie-strip figcaption { margin-top: 0.4rem; font-size: 0.9rem; text-align: center; color: #c3c6e6; }

/* Teamevents */
.event { text-align: center; }
.event .icon-box { margin-inline: auto; }
.icon-box--emoji { font-size: 1.5rem; line-height: 1; }
