/* Olive Garden Feast palette - https://coolors.co/606c38-283618-fefae0-dda15e-bc6c25 */
:root {
  --color-olive-leaf-50: #f4f6ee;
  --color-olive-leaf-100: #eaeedd;
  --color-olive-leaf-200: #d5dcbc;
  --color-olive-leaf-300: #c0cb9a;
  --color-olive-leaf-400: #aaba78;
  --color-olive-leaf-500: #95a857;
  --color-olive-leaf-600: #778745;
  --color-olive-leaf-700: #5a6534;
  --color-olive-leaf-800: #3c4323;
  --color-olive-leaf-900: #1e2211;
  --color-olive-leaf-950: #15180c;

  --color-black-forest-50: #f3f7ed;
  --color-black-forest-100: #e6efdc;
  --color-black-forest-200: #cddfb9;
  --color-black-forest-300: #b4d095;
  --color-black-forest-400: #9cc072;
  --color-black-forest-500: #83b04f;
  --color-black-forest-600: #698d3f;
  --color-black-forest-700: #4e6a2f;
  --color-black-forest-800: #344620;
  --color-black-forest-900: #1a2310;
  --color-black-forest-950: #12190b;

  --color-cornsilk-50: #fefbe6;
  --color-cornsilk-100: #fdf7ce;
  --color-cornsilk-200: #fcef9c;
  --color-cornsilk-300: #fae76b;
  --color-cornsilk-400: #f9df39;
  --color-cornsilk-500: #f7d708;
  --color-cornsilk-600: #c6ac06;
  --color-cornsilk-700: #948105;
  --color-cornsilk-800: #635603;
  --color-cornsilk-900: #312b02;
  --color-cornsilk-950: #231e01;

  --color-sunlit-clay-50: #fbf3ea;
  --color-sunlit-clay-100: #f6e7d5;
  --color-sunlit-clay-200: #edceab;
  --color-sunlit-clay-300: #e4b681;
  --color-sunlit-clay-400: #db9d57;
  --color-sunlit-clay-500: #d2852d;
  --color-sunlit-clay-600: #a86a24;
  --color-sunlit-clay-700: #7e501b;
  --color-sunlit-clay-800: #543512;
  --color-sunlit-clay-900: #2a1b09;
  --color-sunlit-clay-950: #1d1306;

  --color-copperwood-50: #fbf2ea;
  --color-copperwood-100: #f7e4d4;
  --color-copperwood-200: #eecaaa;
  --color-copperwood-300: #e6af7f;
  --color-copperwood-400: #dd9455;
  --color-copperwood-500: #d57a2a;
  --color-copperwood-600: #aa6122;
  --color-copperwood-700: #804919;
  --color-copperwood-800: #553111;
  --color-copperwood-900: #2b1808;
  --color-copperwood-950: #1e1106;

  --font-heading: "Georgia", "Iowan Old Style", serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Desaturated beige derived from cornsilk for large flat backgrounds
     (raw cornsilk-50/100 read too yellow at page scale). */
  --color-beige: #efe3cd;
  --color-beige-100: #e6d8bc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-beige);
  color: var(--color-black-forest-900);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-black-forest-800);
  line-height: 1.25;
}

a {
  color: var(--color-olive-leaf-700);
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Navigation */
.site-header {
  background: var(--color-black-forest-800);
  border-bottom: 1px solid var(--color-black-forest-900);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-cornsilk-50);
  text-decoration: none;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--color-beige);
  border: 1px solid var(--color-copperwood-600);
  box-shadow: inset 1px 1px 2px var(--color-copperwood-600);
  color: var(--color-black-forest-800);
  text-shadow: 1px 1px 1px var(--color-copperwood-600);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-cornsilk-50);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-sunlit-clay-300);
}

.nav-toggle-checkbox {
  display: none;
}

.nav-toggle-label {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.75rem;
  height: 1.15rem;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-cornsilk-50);
  border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.4rem;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-olive-leaf-600);
  color: var(--color-cornsilk-50);
}

.btn-primary:hover {
  background: var(--color-olive-leaf-700);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-black-forest-700);
  color: var(--color-black-forest-700);
}

.btn-secondary:hover {
  background: var(--color-black-forest-100);
}

/* Hero */
.hero {
  background: var(--color-beige-100);
  padding: 3.5rem 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 0 0 1.25rem;
}

.hero-text .hero-title {
  display: block;
  font-size: 1.6rem;
  color: var(--color-copperwood-700);
  font-weight: 600;
  margin-top: 0.35rem;
}

.hero-text p {
  max-width: 42ch;
}

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

.inclusive-banner {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-olive-leaf-300);
}

.inclusive-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.inclusive-banner p {
  margin: 0;
  font-size: 0.8rem;
  text-align: center;
}

.inclusive-flag {
  height: 1.1rem;
  width: auto;
  border-radius: 0.15rem;
  flex-shrink: 0;
}

.hero-photo img {
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px -12px rgba(26, 35, 16, 0.35);
}

.hero-stance {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-olive-leaf-300);
  max-width: 42ch;
}

.hero-stance h2 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.hero-stance p {
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: var(--color-olive-leaf-50);
}

.section-leistungen {
  background: var(--color-beige);
}

.section-leistungen .card {
  background: var(--color-cornsilk-50);
  border: none;
  box-shadow: 0 4px 16px rgba(48, 43, 24, 0.14);
}

.section-leistungen .card:hover {
  background: var(--color-cornsilk-50);
  box-shadow: 0 6px 20px rgba(48, 43, 24, 0.2);
}

.section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

/* Tile grid (Schwerpunkte) */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.tile {
  display: block;
  background: var(--color-beige);
  border: 1px solid var(--color-olive-leaf-200);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  color: var(--color-black-forest-800);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tile:hover,
.tile:focus-visible {
  background: var(--color-sunlit-clay-100);
  border-color: var(--color-copperwood-300);
}

.tile .tile-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.tile .tile-icon svg {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: var(--color-copperwood-600);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card grid (Leistungen) */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  background: var(--color-beige);
  border: 1px solid var(--color-olive-leaf-200);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: background 0.15s ease, border-color 0.15s ease;
  scroll-margin-top: 5.5rem;
}

.card:hover {
  background: var(--color-sunlit-clay-100);
  border-color: var(--color-copperwood-300);
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0;
  color: var(--color-black-forest-800);
}

.card-icon {
  display: flex;
  flex-shrink: 0;
}

.card-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: none;
  stroke: var(--color-copperwood-600);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inline-icon {
  display: flex;
  flex-shrink: 0;
}

.inline-icon svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: none;
  stroke: var(--color-copperwood-600);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Contact teaser */
.contact-teaser {
  background: var(--color-black-forest-800);
  color: var(--color-cornsilk-50);
  padding: 2.5rem 0;
  text-align: center;
}

.contact-teaser a {
  color: var(--color-sunlit-clay-300);
}

.nowrap {
  white-space: nowrap;
}

/* Über mich layout */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.split img {
  border-radius: 0.75rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid var(--color-olive-leaf-300);
}

.timeline li {
  position: relative;
  padding: 0 0 1.25rem 1.5rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-black-forest-700);
}

/* Ablauf steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-badge {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-olive-leaf-600);
  color: var(--color-cornsilk-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Price box */
.price-box {
  background: var(--color-black-forest-800);
  color: var(--color-cornsilk-50);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.price-box .price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-sunlit-clay-300);
}

/* Info boxes */
.info-box {
  background: var(--color-olive-leaf-50);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-box h3 {
  margin-top: 0;
}

.info-box li::marker {
  color: var(--color-olive-leaf-600);
  font-weight: bold;
}

/* Kontakt layout */
.contact-details {
  background: var(--color-olive-leaf-50);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.contact-anfahrt {
  margin-top: 1.5rem;
}

.contact-anfahrt dt {
  font-weight: 600;
  color: var(--color-black-forest-800);
}

.contact-anfahrt dd {
  margin: 0.5rem 0 0;
}

.contact-details dt {
  font-weight: 600;
  color: var(--color-black-forest-800);
  margin-top: 1rem;
}

.contact-details dt:first-child {
  margin-top: 0;
}

.contact-details dd {
  margin: 0;
}

.map-embed {
  margin-top: 0.75rem;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Legal pages */
.legal-content h2 {
  margin-top: 2rem;
}

.legal-content {
  max-width: 72ch;
}

.placeholder {
  color: var(--color-copperwood-700);
  background: var(--color-sunlit-clay-100);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
  font-style: italic;
}

/* Footer */
.site-footer {
  background: var(--color-black-forest-900);
  color: var(--color-cornsilk-50);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer a {
  color: var(--color-sunlit-clay-300);
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle-label {
    display: flex;
  }

  .site-header nav {
    flex-basis: 100%;
    order: 3;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-toggle-checkbox:checked ~ nav .site-nav {
    display: flex;
  }

  .site-nav li {
    border-top: 1px solid var(--color-black-forest-700);
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
  }
}

@media (max-width: 600px) {
  .logo-suffix {
    display: none;
  }
}

@media (max-width: 400px) {
  .logo-icon {
    display: none;
  }
}

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

  .hero-photo {
    order: -1;
  }

  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .tile-grid {
    grid-template-columns: 1fr;
  }
}
