@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-upright.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f5f0e9;
  --text: #292623;
  --muted: #6c655e;
  --line: #e6ddd2;
  --accent: #e89421;
  --accent-dark: #a75b08;
  --accent-soft: #fff0d8;
  --shadow: 0 18px 50px rgba(62, 44, 24, 0.10);
  --radius: 22px;
  --max: 1120px;
}

/* Basis */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Open Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* der Deko-Kreis am Portrait ragt über den Rand */
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: #7d4104; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: #fff;
  padding: .7rem 1rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

/* Header + Wingwave-Banner */
.wave-banner {
  background: #fff;
  border-bottom: 1px solid rgba(230,221,210,.75);
  line-height: 0;
}
.wave-banner img { width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,247,.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230,221,210,.9);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 1.08rem;
}
.brand span { color: var(--accent-dark); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 650;
}
.nav a:hover { color: var(--text); }

/* Typografie */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
}
h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 {
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  letter-spacing: -.055em;
  margin: 14px 0 10px;
}

/* Hero */
.hero { padding: 76px 0 60px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  gap: 70px;
  align-items: center;
}
.hero-name {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 730;
  color: var(--accent-dark);
  margin: 0 0 14px;
}
.hero-role {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 650px;
  margin: 0 0 28px;
}
.hero-copy {
  font-size: 1.08rem;
  max-width: 680px;
  color: #4c4742;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.portrait-wrap {
  position: relative;
  padding: 16px;
  border-radius: 34px;
  background: linear-gradient(145deg, #fff 20%, var(--accent-soft));
  box-shadow: var(--shadow);
}
.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: auto -22px -24px auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .16;
  z-index: -1;
}
.portrait {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* Buttons: .button ist die große Hero-Variante, .contact-action die kleine in den Kontaktkarten */
.button, .contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.button {
  min-height: 48px;
  padding: 0 20px;
  font-weight: 750;
  background: var(--surface);
  color: var(--text);
}
.button:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: #d7c5b0;
  box-shadow: 0 8px 22px rgba(62,44,24,.08);
}
.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #2d1b07;
}
.button.primary:hover { color: #2d1b07; }

.contact-action {
  width: 11.5rem; /* alle vier Buttons gleich lang, bemessen am längsten Text */
  min-height: 40px;
  padding: 0 16px;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1;
  border-color: #e6c99f;
  background: #fff8ed;
  color: #7f4709;
}
.contact-action:hover {
  background: #ffefd6;
  border-color: #dcad6a;
  color: #633703;
  transform: translateY(-1px);
}
.contact-action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}
.contact-action-arrow { opacity: .7; }

/* Abschnitte */
.section { padding: 74px 0; }
.section-alt { background: #f3eee7; border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -.04em;
  margin: 12px 0 14px;
}
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Über mich */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
}
.intro-card, .contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(62,44,24,.05);
}
.intro-card { padding: 32px; }
.intro-card h3 { font-size: 1.55rem; margin-bottom: 12px; }
.intro-card p:last-child { margin-bottom: 0; }
.qualification-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.qualification {
  padding: 18px 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.qualification strong { display: block; line-height: 1.35; }
.qualification small { color: var(--muted); display: block; margin-top: 5px; line-height: 1.45; }

/* Philosophie */
.philosophy {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 48px;
  align-items: start;
}
.quote-card {
  padding: 32px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.18rem;
}
.quote-card blockquote { margin: 0; }
.quote-card cite { display: block; color: var(--muted); font-size: .92rem; margin-top: 14px; font-style: normal; }
.philosophy-copy p:first-child { margin-top: 0; }

/* Kontakt: Button unter dem Wert; nur am Smartphone (eine Spalte) rechts daneben */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.contact-card { padding: 22px; }
.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.contact-card .label {
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}
.contact-value {
  font-size: .98rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.contact-address { font-weight: 500; color: #39342f; }
.contact-action { margin-top: 8px; }

/* Footer */
.site-footer {
  background: #28231e;
  color: #f5eee4;
  padding: 18px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.35;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 0 0 auto;
}
.footer-links a {
  color: #f5eee4;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
}
.footer-links a:hover { color: #ffbe60; }

/* Impressum + Datenschutz */
.legal-simple-page {
  background: #fff;
  color: #2e2925;
}
.legal-simple {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 54px 0 42px;
}
.legal-back {
  display: inline-block;
  margin-bottom: 42px;
  color: #766d65;
  font-size: .92rem;
  text-decoration: none;
}
.legal-back:hover,
.legal-back:focus-visible { color: var(--accent-dark); }
.legal-simple h1 {
  margin: 0 0 42px;
  font-size: clamp(2.35rem, 6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 760;
}
.legal-simple h2 {
  margin: 36px 0 10px;
  padding-top: 4px;
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.legal-simple p {
  margin: 0 0 18px;
  color: #625a53;
}
.legal-simple strong { color: #2e2925; }
.legal-simple p a {
  color: #a85c12;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-simple p.legal-simple-note {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #e8e2dc;
  font-size: .88rem;
  color: #847b73;
}
.legal-simple-footer {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid #e8e2dc;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #958b82;
  font-size: .84rem;
}
.legal-simple-footer a {
  color: #766d65;
  text-decoration: none;
}

/* Responsive: drei Stufen, jede Regel genau einmal */
@media (max-width: 1020px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { padding: 18px 20px; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 66px; }
  .nav { gap: 14px; }
  .nav a:nth-child(-n+2) { display: none; }
  .hero { padding-top: 48px; }
  .hero-grid, .about-grid, .philosophy { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  .portrait-wrap { max-width: 520px; }
  .footer-inner { gap: 18px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav a { font-size: .9rem; }
  .section { padding: 56px 0; }
  .hero { padding: 38px 0 48px; }
  .intro-card { padding: 24px; }
  .qualification-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 10px; }
  .contact-card { padding: 14px 16px; }
  .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label action"
      "value action";
    column-gap: 10px;
    row-gap: 4px;
    align-items: start;
  }
  .contact-card .label { grid-area: label; }
  .contact-value { grid-area: value; font-size: .92rem; }
  .contact-action {
    grid-area: action;
    width: 8.75rem;
    min-height: 34px;
    margin-top: 0;
    padding: 0 10px;
    gap: 6px;
    font-size: .8rem;
  }
  .contact-action svg { width: 14px; height: 14px; }
  .contact-action-arrow { display: none; }
  .site-footer { padding: 15px 0; }
  /* Footer bleibt eine Zeile: Schrift schrumpft mit der Breite, ab ~380 px bricht sie um */
  .footer-inner { gap: 12px; flex-wrap: wrap; }
  .footer-brand { font-size: clamp(.72rem, 2.5vw, .86rem); }
  .footer-links { gap: 12px; }
  .footer-links a { font-size: clamp(.72rem, 2.5vw, .84rem); }
  .legal-simple { width: min(100% - 28px, 760px); padding-top: 34px; }
  .legal-back { margin-bottom: 32px; }
  .legal-simple h1 { margin-bottom: 34px; }
}
