/* ============================================
   Helga Kessinger — Design-System
   ============================================ */

@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/source-serif-4-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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: 'Source Serif 4';
  src: url('../fonts/source-serif-4-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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: 'IBM Plex Sans';
  src: url('../fonts/ibm-plex-sans.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-ink: #1b1c1a;
  --color-accent: #2f6b35;
  --color-accent-dark: #234f27;
  --color-accent-soft: #eaf1e6;
  --color-accent-line: #cfe0c8;
  --color-paper: #faf9f6;
  --color-white: #ffffff;
  --color-line: #e3e1da;
  --color-muted: #6b6f6a;

  --font-head: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-cjk: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;

  /* Eigene Kurven: die eingebauten CSS-Kurven wirken kraftlos */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --max-width: 1120px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 14px 40px rgba(27, 28, 26, 0.07);
  --shadow-sm: 0 4px 16px rgba(27, 28, 26, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  interpolate-size: allow-keywords;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

a {
  color: var(--color-accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-accent-dark);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out),
    border-color 180ms var(--ease-out), transform 140ms var(--ease-out);
}

/* Der Knopf gibt beim Drücken nach, damit er sich anfassbar anfühlt */
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-ghost {
  border-color: var(--color-line);
  color: var(--color-ink);
  background: transparent;
}

/* Hover nur dort, wo es wirklich einen Mauszeiger gibt.
   Auf dem Telefon bliebe der Effekt sonst nach dem Tippen hängen. */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--color-accent-dark);
    color: #fff;
    transform: translateY(-1px);
  }

  .btn-primary:active {
    transform: scale(0.97);
  }

  .btn-ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
  }
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--color-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-ink);
  margin-right: auto;
  line-height: 1.1;
}

.brand strong {
  font-family: var(--font-head);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  order: 1;
}

.main-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.97rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}

.main-nav a:hover,
.main-nav a[aria-current='page'] {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  order: 2;
}

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-switch a,
.lang-switch span {
  padding: 5px 11px;
  text-decoration: none;
  color: var(--color-muted);
  transition: color 160ms var(--ease-out), background 160ms var(--ease-out);
}

.lang-switch a:hover {
  color: var(--color-ink);
  background: var(--color-accent-soft);
}

.lang-switch [aria-current='true'] {
  background: var(--color-accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--color-paper) 0%, var(--color-white) 100%);
  padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-figure {
  position: relative;
  justify-self: center;
  max-width: 400px;
  width: 100%;
}

.hero-figure img {
  position: relative;
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  box-shadow: var(--shadow);
}

.hero-figure::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1.5px solid var(--color-accent-line);
  border-radius: var(--radius-lg);
  background: var(--color-accent-soft);
}

.hero-figure figcaption {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* ---------- Faktenleiste ---------- */

.facts {
  border-block: 1px solid var(--color-line);
  background: var(--color-white);
}

.facts .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 32px;
}

.fact {
  text-align: center;
}

.fact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1.1;
}

.fact span {
  display: block;
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-top: 4px;
}

/* ---------- Sektionen ---------- */

.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section-alt {
  background: var(--color-paper);
}

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.section-head p {
  color: var(--color-muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

/* ---------- Über mich ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.cv-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.cv-card h3 {
  margin-bottom: 22px;
}

.cv {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.cv li {
  position: relative;
  padding: 0 0 26px 28px;
  border-left: 1.5px solid var(--color-accent-line);
}

.cv li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.cv li::before {
  content: '';
  position: absolute;
  left: -6.5px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-accent);
}

.cv b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
}

.cv span {
  display: block;
  font-size: 0.93rem;
  color: var(--color-muted);
}

.logo-row {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

.logo-row p {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.logo-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-row li {
  font-size: 0.86rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

/* ---------- Angebot ---------- */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.offer-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.offer-card.is-featured {
  border-color: var(--color-accent-line);
  box-shadow: var(--shadow);
}

.offer-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.offer-icon svg {
  width: 26px;
  height: 26px;
}

.offer-card h3 {
  margin-bottom: 4px;
}

.offer-card .offer-sub {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.offer-card > p {
  color: var(--color-muted);
}

.price-list {
  list-style: none;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--color-line);
}

/* Feste Spalte für die Preise, damit sie in beiden Karten
   an derselben Stelle beginnen und untereinander stehen */
.price-list li {
  display: grid;
  grid-template-columns: 1fr 8rem;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--color-line);
}

.price-list li:last-child {
  border-bottom: 0;
}

.price-list .unit {
  color: var(--color-muted);
  font-size: 0.97rem;
}

.price-list .price {
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 600;
  white-space: nowrap;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.price-list .hint {
  display: block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--color-accent);
  text-align: left;
}

.offer-note {
  margin: 26px auto 0;
  max-width: 660px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--color-muted);
}

/* ---------- Referenzen ---------- */

.quote-grid {
  columns: 3;
  column-gap: 26px;
}

.quote {
  break-inside: avoid;
  margin: 0 0 26px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.quote blockquote {
  margin: 0;
  font-size: 1rem;
}

.quote blockquote p:last-of-type {
  margin-bottom: 0;
}

.quote blockquote::before {
  content: '“';
  display: block;
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--color-accent-line);
  margin-bottom: 14px;
}

.quote[lang='ja'] blockquote {
  font-family: var(--font-cjk);
  font-size: 0.96rem;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
  font-size: 0.9rem;
  color: var(--color-muted);
}

.quote figcaption b {
  color: var(--color-ink);
  font-weight: 600;
}

.flag {
  font-size: 1.1rem;
  line-height: 1;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq details[open] {
  border-color: var(--color-accent-line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 24px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary {
  transition: background 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .faq summary:hover {
    background: var(--color-accent-soft);
  }
}

/* Aufklappen sanft statt schlagartig. Browser ohne ::details-content
   öffnen weiterhin sofort, das ist kein Fehler, nur weniger Politur. */
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 260ms var(--ease-out), content-visibility 260ms allow-discrete;
}

.faq details[open]::details-content {
  block-size: auto;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 26px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 220ms var(--ease-out);
}

.faq details[open] summary::after {
  transform: translateY(-20%) rotate(-135deg);
}

.faq .faq-body {
  padding: 0 24px 22px;
  color: var(--color-muted);
}

.faq .faq-body p:last-child {
  margin-bottom: 0;
}

.file-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.file-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: var(--color-white);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-ink);
}

.file-links a {
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .file-links a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
  }
}

.file-links svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

/* ---------- Kontakt-Band ---------- */

.cta-band {
  background: var(--color-accent);
  color: #fff;
}

.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: clamp(44px, 6vw, 68px);
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
}

.cta-band .btn-primary {
  background: var(--color-white);
  color: var(--color-accent-dark);
}

.cta-band .btn-primary:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

/* ---------- Kontaktseite ---------- */

.page-head {
  background: var(--color-paper);
  border-bottom: 1px solid var(--color-line);
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
}

.page-head h1 {
  margin-bottom: 12px;
}

.page-head p {
  color: var(--color-muted);
  font-size: 1.1rem;
  max-width: 62ch;
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 3px;
  color: var(--color-accent);
}

.contact-list b {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}

.contact-list a {
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 18px;
}

.form-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-ink);
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: 10px;
  background: var(--color-paper);
  transition: border-color 160ms var(--ease-out), background 160ms var(--ease-out);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--color-accent);
  background: var(--color-white);
  outline: none;
}

.form-row textarea {
  resize: vertical;
  min-height: 140px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 14px 0 0;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.93rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.form-status.error {
  background: #fbeaea;
  color: #8c2a2a;
}

/* ---------- Rechtstexte ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 1.5rem;
  margin-top: 2em;
}

.legal h3 {
  font-size: 1.12rem;
  margin-top: 1.6em;
}

.legal h2:first-child,
.legal h3:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: #3c3f3b;
}

.legal ul {
  padding-left: 1.2em;
}

.legal li {
  margin-bottom: 0.4em;
}

.legal address {
  font-style: normal;
  background: var(--color-paper);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin-bottom: 1.4em;
}

.legal .meta {
  font-size: 0.88rem;
  color: var(--color-muted);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #1f2320;
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(40px, 5vw, 60px) 0 28px;
  font-size: 0.93rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: #fff;
}

.footer-brand span {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Reveal ---------- */

/* Ohne JavaScript ist alles sofort sichtbar — der Effekt wird erst
   eingeschaltet, wenn das Skript die Klasse "js" gesetzt hat. */
html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Nebeneinanderliegende Karten kommen leicht versetzt, nicht im Gleichschritt */
html.js .offer-grid .reveal:nth-child(2),
html.js .quote-grid .reveal:nth-child(2) {
  transition-delay: 70ms;
}

html.js .quote-grid .reveal:nth-child(3) {
  transition-delay: 140ms;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .quote-grid {
    columns: 2;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .main-nav {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 16px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-line);
  }

  .site-header .wrap {
    flex-wrap: wrap;
    min-height: 70px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero .wrap,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    max-width: 320px;
    margin-top: 8px;
  }

  .facts .wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  /* Kopfzeile muss auf dem Telefon in eine Zeile passen */
  .site-header .wrap {
    gap: 12px;
  }

  .brand strong {
    font-size: 1.12rem;
  }

  .brand span {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .hero-figure {
    max-width: 260px;
  }

  .hero-figure::before {
    inset: 16px -16px -16px 16px;
  }

  .quote-grid {
    columns: 1;
  }

  .form-duo {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta-band .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-card,
  .cv-card,
  .quote {
    padding: 24px;
  }

  .price-list li {
    grid-template-columns: 1fr 7rem;
    gap: 10px;
  }
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .cta-band,
  .nav-toggle,
  .hero-actions {
    display: none;
  }

  body {
    font-size: 11pt;
  }
}
