/* ===== CSS RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #1a1a2e;
  --color-accent: #e8a838;
  --color-accent-dark: #c48a1f;
  --color-accent-text: #8a6010;
  --color-text: #222;
  --color-text-light: #555;
  --color-bg: #fff;
  --color-bg-soft: #f8f7f4;
  --color-border: #e0ddd6;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1100px;
  --section-pad: 5rem 1.5rem;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

html { scroll-padding-top: 60px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 1rem;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-text); text-decoration: none; }
a:hover { color: var(--color-primary); }
.nav-logo:hover { color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  line-height: 1.25;
  color: var(--color-primary);
}

h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--color-accent-dark); color: var(--color-primary); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent-text);
  color: var(--color-accent-text);
}
.btn-outline:hover { background: var(--color-accent); color: var(--color-primary); }

/* ===== NAVIGATION ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0 1.5rem;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--color-accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

/* inline-flex mit min-height: als reine Inline-Elemente sind die Links nur
   17px hoch. inline-flex statt flex, damit .lang-switch seinen Rahmen
   weiterhin um den Text legt und im Mobilmenü nicht über die volle
   Breite geht. */
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-accent); }
.nav-links .nav-cta { color: var(--color-accent); font-weight: 700; }

.lang-switch {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 3px 8px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.lang-switch:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

/* min-width/height 44px: WCAG 2.2 fordert 24x24, Apple und Android
   empfehlen 44. Passt in die 60px hohe Navigationsleiste. */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Offenes Menü: die drei Balken werden zum X. aria-expanded pflegt bereits
   main.js, es braucht dafür keine zusätzliche Klasse. Der Versatz um 7px
   entspricht Balkenhöhe plus gap, damit sich die Linien mittig kreuzen. */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  /* svh statt vh: sonst springt die Sektion beim Ein- und Ausblenden
     der URL-Leiste auf Mobilgeräten. vh bleibt als Fallback stehen. */
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* Absoluter Pfad: die Datei liegt jetzt unter /assets/, relative URLs
     würden sonst auf /assets/images/ zeigen. */
  background-image: url('/images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-text h1 span { color: var(--color-accent); }

.hero-text .subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.badge {
  background: rgba(232,168,56,0.15);
  border: 1px solid rgba(232,168,56,0.4);
  color: var(--color-accent);
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero .section-label { color: var(--color-accent); }
.hero .btn-outline { color: var(--color-accent); border-color: var(--color-accent); }

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 340px;
  height: 440px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 3px solid rgba(232,168,56,0.3);
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--color-accent);
  padding: 1rem 1.5rem;
}

.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
}

.trust-item {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Häkchen per CSS, damit Screenreader es nicht viermal vorlesen. */
.trust-item::before {
  content: "✓";
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
#about { padding: var(--section-pad); background: var(--color-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.certifications {
  margin-top: 1.5rem;
  columns: 2;
  column-gap: 1.5rem;
  list-style: none;
}

.cert-item {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.cert-item::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.about-cert-heading { margin-top: 1.75rem; margin-bottom: 0.75rem; }

.about-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== SERVICES ===== */
#services { padding: var(--section-pad); background: var(--color-bg-soft); }

.services-intro {
  max-width: 650px;
  margin-bottom: 3rem;
}
.services-intro p { color: var(--color-text-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.service-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.5; }

/* ===== WHAT SETS ME APART ===== */
#apart { padding: var(--section-pad); background: var(--color-primary); }

#apart .section-label { color: var(--color-accent); }
#apart h2 { color: #fff; }

.apart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.apart-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.apart-card h3 { color: var(--color-accent); font-size: 1rem; margin-bottom: 0.5rem; }
.apart-card p { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.6; }

/* ===== PROJECTS ===== */
#projects { padding: var(--section-pad); background: var(--color-bg); }

.projects-intro { color: var(--color-text-light); margin-bottom: 2.5rem; max-width: 650px; }

.projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.project-sector {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-text);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }

.project-card ul {
  padding-left: 1.2rem;
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.projects-note {
  margin-top: 1.5rem;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.projects-note a { text-decoration: underline; }

/* ===== TESTIMONIALS ===== */
#testimonials { padding: var(--section-pad); background: var(--color-bg-soft); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Zitat und Quellenangabe stehen als figure/figcaption nebeneinander:
   die HTML-Spec verlangt die Attribution ausserhalb des blockquote. */
.testimonial-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card blockquote { margin: 0; }

/* Sprachabhängig, weil beide Sites dasselbe Stylesheet nutzen. Das
   "/ ''" gibt dem Ornament einen leeren Accessible Name, damit
   Screenreader es nicht zusätzlich zum Zitat vorlesen. */
.testimonial-card::before {
  content: '\201C' / '';
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card:lang(de)::before { content: '\201E' / ''; }

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 400;
  background: #111;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  margin-top: auto;
}

/* ===== CONTACT ===== */
#contact { padding: var(--section-pad); background: var(--color-primary); }

#contact .section-label { color: var(--color-accent); }
#contact h2 { color: #fff; margin-bottom: 0.5rem; }
#contact .contact-intro { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 560px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  color: rgba(255,255,255,0.8);
}

.contact-info p { margin-bottom: 1.25rem; font-size: 0.95rem; line-height: 1.7; }
.contact-info .contact-lead { color: #fff; font-weight: 700; }

.contact-links { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.contact-link:hover { color: var(--color-accent); }

.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* Rahmen 0.45 statt 0.2: der Rahmen ist das einzige Merkmal, das das Feld
   als Bedienelement erkennbar macht, und muss deshalb nach WCAG 1.4.11
   auf 3:1 gegen die Kartenfläche kommen. 0.2 ergab nur 1.92:1, 0.45
   ergibt 4.22:1 gegen die Karte und 3.32:1 gegen die Feldfüllung. */
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232,168,56,0.45);
}

/* 0.58 statt 0.5: erst ab hier wird das Kontrastverhältnis
   gegenüber dem Eingabefeld grösser als die geforderten 4.5:1. */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.58);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.75rem;
}

#form-success {
  display: none;
  background: rgba(232,168,56,0.15);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: var(--color-accent);
  font-size: 0.95rem;
  margin-top: 1rem;
}

#form-error {
  display: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 1rem;
}

#form-error a { color: var(--color-accent); text-decoration: underline; }

/* Honeypot: für Menschen unsichtbar, für Bots ein ausfüllbares Feld. */
.honeypot { display: none; }

.btn-block { width: 100%; }

/* ===== FOOTER ===== */
body > footer {
  background: #111;
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

body > footer p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

/* Padding statt blosser Zeilenhöhe: sonst sind die Links nur 23px hoch
   und verfehlen die 24x24 aus WCAG 2.2 (SC 2.5.8). */
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-accent); }

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(26,26,46,0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.open { display: flex; }

  /* Im aufgeklappten Menü soll die ganze Zeilenbreite tippbar sein, nicht
     nur der Text. .lang-switch bleibt davon ausgenommen, sonst zieht sich
     sein Rahmen über die volle Breite.
     Zentriert wird zweifach, weil die Links über die volle Breite als Flex
     ausgerichtet werden, .lang-switch als inline-flex dagegen über
     text-align des umgebenden li. */
  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: flex;
    justify-content: center;
    min-height: 44px;
  }

  .nav-links .lang-switch {
    display: inline-flex;
    width: auto;
  }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .hero-image { order: -1; }

  .hero-photo { width: 220px; height: 280px; }

  .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .certifications { columns: 1; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  :root { --section-pad: 3.5rem 1.25rem; }
  .hero-text h1 { font-size: 2rem; }
}

/* ===== DATENSCHUTZSEITE ===== */
.policy-header {
  background: var(--color-primary);
  padding: 4rem 1.5rem 3rem;
}

.policy-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.policy-header .section-label { color: var(--color-accent); }

.policy-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.policy-header .version {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.policy-body {
  padding: 4rem 1.5rem 5rem;
  background: var(--color-bg);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content p {
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

.policy-content h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content ul {
  margin: 0.5rem 0 1.25rem 1.5rem;
  color: var(--color-text-light);
}

.policy-content ul li { margin-bottom: 0.4rem; }

.policy-content a {
  overflow-wrap: anywhere;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .policy-header { padding: 3rem 1.25rem 2rem; }
  .policy-body { padding: 3rem 1.25rem 4rem; }
}

/* ===== FEHLERSEITE 404 ===== */
.page-404 {
  background: var(--color-primary);
  color: #fff;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
}

.page-404 h1 {
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--color-accent);
  line-height: 1.1;
}

.page-404 p {
  color: rgba(255,255,255,0.8);
  margin: 1rem 0 2rem;
}

/* ===== DRUCK ===== */
@media print {
  :root { --section-pad: 1.5rem 0; }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.5;
  }

  .nav,
  .skip-link,
  .hero-bg,
  .hero-actions,
  .contact-form,
  .footer-links,
  .about-image { display: none; }

  /* Dunkle Flächen kosten im Druck nur Toner und bringen nichts. */
  .hero,
  #apart,
  #contact,
  body > footer,
  .trust-bar {
    background: #fff;
    min-height: 0;
  }

  .hero-text h1,
  .hero-text .subtitle,
  #apart h2,
  #apart .apart-card h3,
  #apart .apart-card p,
  #contact h2,
  #contact .contact-intro,
  .contact-info,
  .contact-info p,
  .contact-info .contact-lead,
  .contact-link,
  .trust-item,
  body > footer p {
    color: #000;
  }

  .apart-card,
  .service-card,
  .testimonial-card,
  .project-card {
    border: 1px solid #999;
    box-shadow: none;
    break-inside: avoid;
  }

  .badge {
    border: 1px solid #999;
    color: #000;
    background: none;
  }

  /* Das helle Gold ist auf Papier kaum lesbar, im Druck der dunkle Ton.
     Die Sektions-Selektoren müssen mit, sonst gewinnt die Bildschirmregel. */
  .section-label,
  .hero .section-label,
  #apart .section-label,
  #contact .section-label,
  .hero-text h1 span,
  .project-sector,
  .cert-item::before,
  .apart-card h3 {
    color: var(--color-accent-text);
  }

  .hero-content,
  .about-grid,
  .contact-grid { display: block; }

  .hero-photo { width: 45mm; height: auto; }

  a { color: #000; text-decoration: underline; }

  /* Linkziele sichtbar machen, im Druck ist ein Hyperlink sonst wertlos. */
  .contact-link[href]::after,
  .projects-note a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    word-break: break-all;
  }

  section { break-inside: avoid-page; }
}
