/* ── Fonts ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-VariableFont_wdth,wght.woff2') format('woff2'),
       url('fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Italic-VariableFont_wdth,wght.woff2') format('woff2'),
       url('fonts/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --white:    #FFFFFF;
  --bg:       #F6F3EF;
  --copper:   #C8622C;
  --text:     #1A1612;
  --muted:    #6B5D50;
  --border:   #E2DAD0;
  --footer-bg:#1A1612;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', system-ui, sans-serif;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  background-color: var(--white);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1;
}

/* ── Header ─────────────────────────────────────────────────── */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  text-align: center;
}

.logo-link {
  display: inline-block;
  line-height: 0;
}

.logo-link:focus {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.site-logo {
  height: 72px;
  width: auto;
}

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  background-color: var(--white);
  padding: 1.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 4rem;
  align-items: center;
}

.hero-portrait-col {
  position: relative;
}

.hero-portrait {
  display: block;
  width: 100%;
  max-width: 380px;
  border: 3px solid var(--copper);
}

/* Small copper square offset — signature detail */
.hero-portrait-col::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 64px;
  height: 64px;
  border: 3px solid var(--copper);
  opacity: 0.25;
  pointer-events: none;
}

.eyebrow {
  display: block;
  font-variation-settings: 'wght' 500, 'wdth' 100;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

h1 {
  font-family: 'Roboto', sans-serif;
  font-variation-settings: 'wght' 800, 'wdth' 90;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.tagline {
  font-variation-settings: 'wght' 300, 'wdth' 100;
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 420px;
}

/* ── Button ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--copper);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  font-variation-settings: 'wght' 600, 'wdth' 100;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #ad5226;
  color: #fff;
  transform: translateY(-1px);
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  text-decoration: none;
}

/* ── Section label (h2 styled as small label) ────────────────── */
.section-label {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-variation-settings: 'wght' 600, 'wdth' 100;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 2rem;
}

/* ── Services ─────────────────────────────────────────────── */
#leistungen {
  background-color: var(--bg);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.service-group {
  background-color: var(--white);
  border: 1px solid var(--border);
  padding: 1.75rem 1.75rem 1.85rem;
}

.service-group__title {
  font-family: 'Roboto', sans-serif;
  font-variation-settings: 'wght' 700, 'wdth' 90;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--copper);
}

.service-group ul {
  list-style: none;
}

.service-group li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.4rem 0;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-size: 0.95rem;
  color: var(--muted);
}

.service-group li::before {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 2px;
  background: var(--copper);
  margin-top: 0.62rem;
}

.service-note {
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Contact ─────────────────────────────────────────────── */
#kontakt {
  background-color: var(--white);
  padding: 5rem 0;
}

.kontakt-intro {
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.kontakt-channels {
  max-width: 540px;
  font-style: normal;
}

.kontakt-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.kontakt-row:first-child {
  border-top: 1px solid var(--border);
}

.kontakt-row--link:hover .kontakt-val,
.kontakt-row--link:focus .kontakt-val {
  color: var(--copper);
}

.kontakt-row--link:focus {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.kontakt-type {
  flex: 0 0 80px;
  font-variation-settings: 'wght' 600, 'wdth' 100;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.kontakt-val {
  font-variation-settings: 'wght' 500, 'wdth' 100;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 0.12s;
  word-break: break-all;
}

.kontakt-pending {
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-style: italic;
  color: var(--muted);
}

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  background-color: var(--footer-bg);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  font-size: 0.78rem;
  color: #6B5D50;
}

.footer-inner nav {
  display: flex;
  gap: 1.5rem;
}

footer a {
  color: #9A8878;
  text-decoration: none;
  transition: color 0.12s;
}

footer a:hover,
footer a:focus {
  color: #FEFDF9;
  outline: 1px solid #6B5D50;
  outline-offset: 2px;
}

/* ── Subpages (Impressum, Datenschutz) ───────────────────────── */
.page-content {
  padding: 4rem 0 5rem;
  max-width: 760px;
}

.page-content h1 {
  font-variation-settings: 'wght' 800, 'wdth' 90;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--copper);
}

.page-content h2 {
  font-variation-settings: 'wght' 700, 'wdth' 90;
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
}

.page-content h3 {
  font-variation-settings: 'wght' 600, 'wdth' 100;
  font-size: 1rem;
  color: var(--text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content h4 {
  font-variation-settings: 'wght' 600, 'wdth' 100;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
}

.page-content p {
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.page-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
}

.page-content li {
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.page-content a {
  color: var(--copper);
  text-decoration: underline;
}

.page-content a:hover,
.page-content a:focus {
  color: #ad5226;
  outline: 1px solid var(--copper);
  outline-offset: 2px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 680px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-portrait {
    max-width: min(75vw, 300px);
    margin: 0 auto;
  }

  .hero-portrait-col::after {
    display: none;
  }

  .service-groups {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

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

  .footer-inner nav {
    gap: 1.25rem;
  }
}

/* ── Placeholder text ────────────────────────────────────────── */
.placeholder {
  color: var(--muted);
  font-style: italic;
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary { transition: none; }
}
