:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-muted: #f1ece3;
  --text: #1e2329;
  --text-soft: #535b63;
  --line: #ddd3c4;
  --accent: #7a5a36;
  --accent-dark: #5d4327;
  --shadow: 0 20px 50px rgba(25, 31, 38, 0.08);
  --radius: 22px;
  --container: 1180px;
  --header-height: 82px;
}

*, *::before, *::after {
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: normal;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #faf8f4 0%, var(--bg) 100%);
  line-height: 1.65;
  overflow-x: hidden;
}

/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/playfair-display-v40-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('../assets/fonts/playfair-display-v40-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../assets/fonts/playfair-display-v40-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../assets/fonts/playfair-display-v40-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('../assets/fonts/playfair-display-v40-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('../assets/fonts/playfair-display-v40-latin-regular.svg#PlayfairDisplay') format('svg'); /* Legacy iOS */
}


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

a {
  color: inherit;
  text-decoration: none;
}

p,
ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.2rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  z-index: 1000;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), 860px);
}

.section {
  padding: 5.5rem 0;
}

.section-muted {
  background: rgba(255, 255, 255, 0.5);
}

.section-accent {
  background: radial-gradient(circle at top left, #f5ede0 0%, #efe7db 45%, #ebe1d4 100%);
}

.card {
  background: var(--surface);
  border: 1px solid rgba(122, 90, 54, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(250, 248, 244, 0.9);
  border-bottom: 1px solid rgba(122, 90, 54, 0.12);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.site-nav a {
  font-size: 0.98rem;
  color: var(--text-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(122, 90, 54, 0.18);
  border-radius: 14px;
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-grid > *,
.split-grid > *,
.contact-grid > * {
  min-width: 0;
}

.hero {
  padding-top: 4.5rem;
}

.eyebrow {
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  overflow-wrap: break-word;
  word-break: normal;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.15;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}

h1,
h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.65rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.28rem;
}

.hero-copy,
.hero-media {
  min-width: 0;
}

.hero-subline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-dark);
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-text,
.section p,
.legal-copy li {
  color: var(--text-soft);
  font-size: 1.03rem;
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.8rem;
  min-width: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  background: transparent;
  border-color: rgba(122, 90, 54, 0.24);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
}

.hero-media {
  overflow: hidden;
  padding: 0.9rem;
}

.hero-media img {
  border-radius: calc(var(--radius) - 10px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.section-heading.haltung-heading {
  margin-top: 2rem;
}

.section-heading.left {
  text-align: left;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card,
.note-card,
.contact-card {
  padding: 1.6rem;
  min-width: 0;
}

.note-card {
  border-left: 5px solid var(--accent);
}

.mail-fallback,
.email-obfuscated {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-word;
}

.legal-copy h3 {
  margin-top: 2rem;
}

.site-footer {
  border-top: 1px solid rgba(122, 90, 54, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.footer-inner a,
.footer-inner p {
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-media {
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.75rem);
    width: min(320px, calc(100vw - 2rem));
    padding: 0.8rem;
    border: 1px solid rgba(122, 90, 54, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-nav a {
    padding: 0.75rem 0.8rem;
    border-radius: 12px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(122, 90, 54, 0.08);
  }
}

@media (max-width: 640px) {

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    text-align: center;
  }

}


