@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/BricolageGrotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --blue: #004BA8;
  --blue-deep: #00316E;
  --gold: #FFAB00;
  --gold-soft: #FFC94D;
  --ink: #14202E;
  --muted: #56616F;
  --paper: #FFFFFF;
  --soft: #F2F5F9;
  --line: #D9E0EA;
  --radius: 18px;
  --head: "Bricolage Grotesque", "Source Sans 3", Arial, sans-serif;
  --body: "Source Sans 3", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.12rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--head);
  line-height: 1.05;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); color: #fff; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--blue-deep); }
h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: 110px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--blue-deep); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.82); }

.accent { color: var(--gold); }

.eyebrow {
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow-dark { color: var(--blue); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}
.logo img { width: clamp(90px, 10vw, 120px); height: auto; }
.main-nav { display: flex; gap: 24px; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { color: var(--blue); border-bottom-color: var(--gold); }
.menu-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  border-radius: 999px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22); }

/* Hero: Vollbild, groß, mit Charakter */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 171, 0, 0.18), transparent 40%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: 90px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  min-height: 70vh;
}
.hero-text .lead {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 32em;
  margin-bottom: 36px;
}
.hero-text .eyebrow { color: var(--gold); }
.hero-note { margin: 22px 0 0; font-size: 1rem; color: rgba(255, 255, 255, 0.7); }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  aspect-ratio: 1 / 1;
}
.ring {
  position: absolute;
  inset: -6%;
  border: 2px dashed rgba(255, 171, 0, 0.7);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.ring::after {
  content: "";
  position: absolute;
  top: 6%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-tiles {
  list-style: none;
  padding: 0;
  margin: 70px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: translateY(0);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12);
}
.hero-tiles li {
  padding: 26px 28px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line);
}
.hero-tiles li:last-child { border-right: 0; }
.tile-num {
  font-family: var(--head);
  font-weight: 800;
  color: var(--gold);
  background: var(--blue-deep);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.95rem;
}

/* Platzhalter für Fotos und Videos */
.ph {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1A63C2 0%, var(--blue-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 18px;
  font-size: 0.95rem;
  overflow: hidden;
}
.ph::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 14px solid rgba(255, 171, 0, 0.35);
}
.ph-circle { aspect-ratio: 1 / 1; border-radius: 50%; }
.ph-tall { aspect-ratio: 3 / 4; }
.ph-portrait { aspect-ratio: 4 / 5; }
.ph-icon { width: 48px; height: 48px; position: relative; z-index: 1; opacity: 0.92; }
.ph span { position: relative; z-index: 1; opacity: 0.88; max-width: 16em; }

/* Problem und Karten */
.cards { display: grid; gap: 24px; margin-top: 48px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0, 49, 110, 0.10); border-color: var(--gold); }
.card p { color: var(--muted); margin: 0; }
.cards-dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18); }
.cards-dark .card:hover { border-color: var(--gold); box-shadow: none; }
.cards-dark .card h3 { color: #fff; }
.cards-dark .card p { color: rgba(255, 255, 255, 0.82); }
.big-num {
  display: block;
  font-family: var(--head);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  margin-bottom: 22px;
}

/* Ablauf: drei Schritte, groß nummeriert */
.steps {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.steps li {
  border-top: 2px solid rgba(255, 255, 255, 0.25);
  padding-top: 28px;
}
.step-num {
  display: block;
  font-family: var(--head);
  font-weight: 800;
  font-size: 4.2rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 18px;
}
.steps h3 { color: #fff; }
.steps p { margin: 0; }

/* Projekte */
.project { }
.project h3 { margin: 22px 0 4px; color: var(--blue-deep); }
.project .meta { color: var(--muted); margin: 0; font-size: 1rem; }

/* Einsatz: Liste mit Trennlinien */
.uses {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
}
.uses li {
  padding: 34px 34px 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s ease;
}
.uses li:nth-child(odd) { border-right: 1px solid var(--line); }
.uses li:nth-child(even) { padding-left: 34px; }
.uses li:hover { padding-left: 42px; }
.uses p { color: var(--muted); margin: 0; }

/* Videos */
.video-card { margin: 0; }
.video-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue-deep);
  color: #fff;
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: transform 0.25s ease;
}
.video-slot:hover { transform: scale(1.01); }
.play {
  width: 0;
  height: 0;
  border-left: 24px solid var(--gold);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}
.video-card figcaption { color: var(--muted); margin-top: 12px; font-size: 1rem; }
.video-card video { width: 100%; border-radius: var(--radius); background: var(--ink); }

/* Über uns */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.values li {
  padding: 18px 20px 18px 42px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  border-left: 4px solid var(--gold);
}
.values li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.values strong { color: var(--blue-deep); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary {
  cursor: pointer;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--blue-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { content: "×"; }
.faq details p { margin: 14px 0 0; color: var(--muted); }

/* Abschluss */
.cta {
  background:
    radial-gradient(circle at 15% 80%, rgba(255, 171, 0, 0.16), transparent 40%),
    var(--blue);
  color: #fff;
  text-align: center;
}
.cta h2 { color: #fff; max-width: 16em; margin: 0 auto 20px; }
.cta p { color: rgba(255, 255, 255, 0.9); max-width: 34em; margin: 0 auto 36px; }
.cta-inner { padding: 8px 0; }

/* Fußbereich */
.site-footer { background: var(--ink); color: #D7DEE8; padding: 64px 0 44px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; align-items: start; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0; color: #AEB8C6; }
.footer-contact, .footer-links { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }

/* Rechtliche Seiten */
.legal { padding: 64px 0 88px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3rem); color: var(--blue-deep); }
.legal h2 { font-size: 1.45rem; margin-top: 1.6em; color: var(--blue-deep); }
.legal p, .legal li { color: var(--ink); }
.legal .note {
  background: #FFF6DD;
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 1rem;
}
.placeholder-text { background: #FFF6DD; padding: 0 4px; border-radius: 4px; }

/* Echte Fotos und Projekt-Links */
.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}
.about-photo {
  width: 100%;
  height: auto;
}
.project-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.project-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: var(--soft);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-link:hover img { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(0, 49, 110, 0.12); }
.project-link:focus-visible img { outline: 3px solid var(--gold); outline-offset: 4px; }
.project-link h3 { margin: 22px 0 4px; color: var(--blue-deep); }
.project-link .meta { color: var(--muted); margin: 0 0 10px; font-size: 1rem; }
.project-cta { font-family: var(--head); font-weight: 700; color: var(--blue); }

/* Kundenstimmen als Text */
.quote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.quote p {
  font-family: var(--head);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--blue-deep);
  margin: 0 0 18px;
}
.quote footer { color: var(--muted); font-size: 1rem; }

/* Cookie-Hinweis */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 18px 20px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}
.cookie-inner p { margin: 0; max-width: 46em; font-size: 1rem; color: rgba(255, 255, 255, 0.92); }
.cookie-inner a { color: var(--gold); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 22px; font-size: 1rem; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  text-align: left;
}
.link-button:hover { color: var(--gold); }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Tablet */
@media (max-width: 1000px) {
  .section { padding: 84px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero-visual { justify-self: center; max-width: 380px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* Handy: eigener Durchgang, Navigation im Menü, Karten einspaltig */
@media (max-width: 760px) {
  body { font-size: 1.05rem; }
  .hero { padding: 56px 0 0; }
  .hero-tiles { grid-template-columns: 1fr; margin-top: 48px; }
  .hero-tiles li { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 22px; }
  .hero-tiles li:last-child { border-bottom: 0; }
  .hero-visual { display: none; }
  .cards-3, .cards-2, .uses { grid-template-columns: 1fr; }
  .uses li, .uses li:nth-child(even) { padding: 26px 0; border-right: 0; }
  .uses li:hover { padding-left: 0; }
  .menu-toggle {
    display: inline-block;
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 18px;
    font: inherit;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-inner { position: relative; }
  .logo img { width: clamp(78px, 24vw, 100px); }
  .btn { width: 100%; justify-content: center; }
  .btn, .hero .btn { font-size: 1rem; padding: 16px 20px; gap: 10px; }
  .cta .btn { width: 100%; }
  .section { padding: 64px 0; }
  .big-num { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ring { animation: none; }
  .btn, .card, .video-slot, .uses li { transition: none; }
}
