/* Firmenseite (Root) — Übersicht über die vier Branchen-Angebote. */

:root {
  /* Textfarbe: dunkles Blau statt Schwarz — bewusste Entscheidung, kein
     reines Schwarz oder Nahe-Schwarz irgendwo im Design. */
  --ink: #1A2140;
  --ink-soft: #5B5F7A;
  --paper: #FAFAF8;
  --paper-dim: #F1EFE9;
  --line: #E4E1D8;
  --card: #FFFFFF;

  /* Logo-Farben (aus assets/logo.png extrahiert) — tragen die dunklen
     Flächen im Design, nicht Schwarz. */
  --blue: #335ECF;
  --blue-dark: #24449E;
  --pink: #C430B8;
  --pink-dark: #9E2494;

  --terracotta: #C4653A;
  --terracotta-dark: #9C4B27;
  --lime: #A8E000;
  --lime-dark: #6F8F00;
  --violet: #6C4CF5;
  --violet-dark: #4B2FD9;
  --cyan: #2AA9E0;
  --cyan-dark: #0F5C82;

  --deep: linear-gradient(135deg, var(--blue-dark), var(--pink-dark) 130%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Instrument Sans", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Kopf ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 250, 248, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo {
  height: 66px;
  width: auto;
  mix-blend-mode: multiply;
}
.header-inner nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--blue-dark);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.header-inner nav a:hover { background: var(--deep); border-color: transparent; color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--paper);
  padding: 100px 0 92px;
}
.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  opacity: 0.22;
  pointer-events: none;
}
.hero-mosaic svg { width: 100%; height: 100%; }

.hero-inner { position: relative; max-width: 760px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
}
.eyebrow .swatches { display: flex; gap: 5px; }
.eyebrow .swatch { width: 8px; height: 8px; border-radius: 50%; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
}
.hero p {
  font-size: 19px;
  color: #fff;
  max-width: 56ch;
  margin: 0 0 36px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease;
}
.hero-cta:hover { transform: translateY(-2px); }

/* ---------- Branchen ---------- */
.branchen { padding: 88px 0 20px; }
.section-head { margin-bottom: 40px; max-width: 60ch; }
.section-head .eyebrow { color: var(--ink-soft); }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 16px; margin: 0; }

.branchen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 860px) { .branchen-grid { grid-template-columns: 1fr; } }

.branche-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.branche-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(16,17,20,0.10);
}

.branche-visual {
  position: relative;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.branche-visual svg.icon { width: 68px; height: 68px; position: relative; z-index: 1; }
.branche-visual svg.icon.icon-wide { width: 118px; height: 59px; }
.branche-visual svg.icon.icon-tooth { width: 88px; height: 88px; }
.branche-visual svg.icon.icon-scissors { width: 54px; height: 54px; }

.branche-card.-blue .branche-visual { background: radial-gradient(circle at 30% 20%, rgba(51,94,207,0.18), transparent 70%), var(--paper-dim); }
.branche-card.-blue svg.icon { color: var(--blue); }
.branche-card.-blue:hover { border-color: var(--blue); }

.branche-card.-terracotta .branche-visual { background: radial-gradient(circle at 30% 20%, rgba(196,101,58,0.18), transparent 70%), var(--paper-dim); }
.branche-card.-terracotta svg.icon { color: var(--terracotta); }
.branche-card.-terracotta:hover { border-color: var(--terracotta); }

.branche-card.-lime .branche-visual { background: radial-gradient(circle at 30% 20%, rgba(111,143,0,0.18), transparent 70%), var(--paper-dim); }
.branche-card.-lime svg.icon { color: var(--lime-dark); }
.branche-card.-lime:hover { border-color: var(--lime-dark); }

.branche-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.branche-name { font-size: 19px; margin: 0 0 8px; }
.branche-desc { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 18px; flex: 1; }

.branche-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.branche-tags span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper-dim);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

.branche-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
}
.branche-link .arrow { transition: transform 0.15s ease; }
.branche-card:hover .branche-link .arrow { transform: translateX(4px); }

/* ---------- AVA-Banner ---------- */
.ava-banner {
  margin: 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(120deg, var(--violet-dark), #2a1f5e 65%);
  color: #fff;
  border-radius: 20px;
  padding: 34px 38px;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}
.ava-banner:hover .ava-arrow { transform: translateX(4px); }
.ava-banner-text { position: relative; z-index: 1; }
.ava-banner .eyebrow { color: var(--violet); margin-bottom: 10px; }
.ava-banner h3 { font-size: 22px; color: #fff; margin: 0 0 8px; }
.ava-banner p { font-size: 14.5px; color: rgba(255,255,255,0.68); margin: 0; max-width: 48ch; }
.ava-waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 46px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.ava-waveform .bar {
  width: 5px;
  background: linear-gradient(180deg, var(--violet), #F5478C);
  border-radius: 3px;
  animation: wave 1.3s ease-in-out infinite;
}
.ava-waveform .bar:nth-child(1) { height: 34%; animation-delay: 0s; }
.ava-waveform .bar:nth-child(2) { height: 68%; animation-delay: .12s; }
.ava-waveform .bar:nth-child(3) { height: 100%; animation-delay: .24s; }
.ava-waveform .bar:nth-child(4) { height: 52%; animation-delay: .36s; }
.ava-waveform .bar:nth-child(5) { height: 80%; animation-delay: .48s; }
.ava-waveform .bar:nth-child(6) { height: 40%; animation-delay: .6s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.55); opacity: 0.7; } 50% { transform: scaleY(1); opacity: 1; } }
.ava-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--violet); margin-top: 14px; position: relative; z-index: 1; }

/* ---------- Webseiten-Banner ---------- */
.webseiten-banner {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(120deg, var(--cyan-dark), #0a2e42 65%);
  color: #fff;
  border-radius: 20px;
  padding: 34px 38px;
  text-decoration: none;
  overflow: hidden;
  position: relative;
}
.webseiten-banner:hover .webseiten-arrow { transform: translateX(4px); }
.webseiten-banner-text { position: relative; z-index: 1; }
.webseiten-banner .eyebrow { color: var(--cyan); margin-bottom: 10px; }
.webseiten-banner h3 { font-size: 22px; color: #fff; margin: 0 0 8px; }
.webseiten-banner p { font-size: 14.5px; color: rgba(255,255,255,0.68); margin: 0; max-width: 48ch; }
.webseiten-icon {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  color: var(--cyan);
  position: relative;
  z-index: 1;
}
.webseiten-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--cyan); margin-top: 14px; position: relative; z-index: 1; }

/* ---------- Warum wir ---------- */
.warum { padding: 92px 0; }
.warum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 760px) { .warum-grid { grid-template-columns: 1fr; } }
.warum-item h3 { font-size: 16.5px; margin: 0 0 8px; }
.warum-item p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.warum-num {
  font-family: "Instrument Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 10px;
  display: block;
}

/* ---------- Kontakt ---------- */
.kontakt { padding: 20px 0 100px; }
.kontakt-card {
  background: var(--deep);
  color: #fff;
  border-radius: 24px;
  padding: 56px 48px;
  text-align: center;
}
.kontakt-card h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.kontakt-card p { color: rgba(255,255,255,0.68); font-size: 16px; margin: 0 0 30px; }
.kontakt-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.kontakt-buttons a {
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: 999px;
}
.kontakt-buttons a.primary { background: #fff; color: var(--ink); }
.kontakt-buttons a.ghost { border: 1.5px solid rgba(255,255,255,0.3); color: #fff; }

/* ---------- Fuss ---------- */
.site-footer { padding: 28px 0 44px; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer p { margin: 0; font-size: 13px; color: var(--ink-soft); }
