/* "Classical" design system — self-hosted fonts + tokens + component classes
   used by pages that have been migrated to the new site redesign. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #f3f2f2;
  --color-surface: #eae9e9;
  --color-text: #201f1d;
  --color-accent: #b68235;
  --color-accent-2: #ac803e;
  --color-divider: color-mix(in srgb, #201f1d 16%, transparent);

  --color-neutral-100: #f8f4f4;
  --color-neutral-200: #eae7e7;
  --color-neutral-300: #d7d3d3;
  --color-neutral-400: #bab6b6;
  --color-neutral-500: #9b9797;
  --color-neutral-600: #7d7979;
  --color-neutral-700: #605d5d;
  --color-neutral-800: #444141;
  --color-neutral-900: #2d2b2b;

  --color-accent-100: #fff3e4;
  --color-accent-200: #ffe3bf;
  --color-accent-300: #facb8d;
  --color-accent-400: #e1ad66;
  --color-accent-500: #c28d41;
  --color-accent-600: #a06f24;
  --color-accent-700: #7d5411;
  --color-accent-800: #5a3b0a;
  --color-accent-900: #3a270d;

  --color-accent-2-100: #fff3e4;
  --color-accent-2-200: #ffe3be;
  --color-accent-2-300: #f5cd96;
  --color-accent-2-400: #dbaf70;
  --color-accent-2-500: #bc8f4e;
  --color-accent-2-600: #9b7232;
  --color-accent-2-700: #79561f;
  --color-accent-2-800: #573d14;
  --color-accent-2-900: #382810;

  --font-heading: "Cormorant Garamond", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Lora", system-ui, sans-serif;

  --space-1: 4.6px;
  --space-2: 9.2px;
  --space-3: 13.8px;
  --space-4: 18.4px;
  --space-6: 27.6px;
  --space-8: 36.8px;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 7px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2d2b2b 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2d2b2b 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2d2b2b 22%, transparent);
}

body.ds {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}
.ds h1, .ds h2, .ds h3, .ds h4 { font-family: var(--font-heading); font-weight: var(--font-heading-weight); }

.ds .plate {
  filter: sepia(0.22) saturate(0.82) contrast(1.05);
  box-sizing: border-box;
  border: 6px solid var(--color-surface);
  outline: 1px solid var(--color-divider);
}

.ds, .ds *, .ds *::before, .ds *::after { box-sizing: border-box; }
.ds { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 400; }
.ds h1, .ds h2, .ds h3, .ds h4, .ds h5, .ds h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
}
.ds h1 { font-size: 42px; }
.ds h2 { font-size: 32px; }
.ds h3 { font-size: 25px; }
.ds h4 { font-size: 20px; }
.ds h5 { font-size: 16px; }
.ds h6 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.ds p { margin: 0 0 var(--space-3); }
.ds a { color: var(--color-accent); text-underline-offset: 3px; }
.ds img { display: block; max-width: 100%; }
.ds figure { margin: 0; }
.ds figcaption {
  font-size: 11px; margin-top: var(--space-1);
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.ds .text-muted { color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.ds :focus { outline: none; }
.ds :focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.ds ::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

.ds .hr {
  height: 1px; border: 0; margin: var(--space-4) 0;
  background: var(--color-divider);
}

.ds .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid transparent;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
  border-radius: var(--radius-md);
}
.ds .btn-primary { color: var(--color-accent); border-color: var(--color-accent); }
.ds .btn-primary:hover { background: color-mix(in srgb, var(--color-accent) 12%, transparent); }
.ds .btn-primary:active { background: color-mix(in srgb, var(--color-accent) 22%, transparent); }
.ds .btn-block { width: 100%; margin-top: var(--space-2); }

.ds .link-cta {
  display: inline-flex; align-items: center;
  color: #5a6b4c; text-decoration: none;
  font-family: var(--font-body); font-size: 15px; line-height: 1.2;
  padding: var(--space-2) 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.ds .link-cta:hover { color: #46543a; border-bottom-color: #5a6b4c; }

.ds .card {
  display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-3); border-radius: var(--radius-md); background: transparent; border: 1px solid var(--color-divider);
}
.ds .card-kicker { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.ds .card-title {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 17px; line-height: 1.2;
}
.ds .card-body { margin: 0; font-size: 13px; opacity: 0.8; flex: 1; }
.ds .elev-sm { box-shadow: var(--shadow-sm); }

/* — mobile nav — */
.ds .nav-menu-panel { display: none; }
.ds .nav-menu-panel.open { display: flex; }
@media (max-width: 720px) {
  .ds .nav-links-desktop { display: none !important; }
  .ds .nav-actions-mobile { display: flex !important; }
}

/* — borderless intro columns (Landing) — */
.ds .intro-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px;
}
.ds .intro-cols > div { border-left: 1px solid var(--color-divider); padding-left: 56px; }
.ds .intro-cols > div:first-child { border-left: none; padding-left: 0; }
@media (max-width: 820px) {
  .ds .intro-cols { grid-template-columns: 1fr; gap: 36px 0; }
  .ds .intro-cols > div { border-left: none; padding-left: 0; border-top: 1px solid var(--color-divider); padding-top: 32px; }
  .ds .intro-cols > div:first-child { border-top: none; padding-top: 0; }
}

/* — service sections (image/text + price cards) stack on narrow screens — */
@media (max-width: 720px) {
  .ds .svc-cols { grid-template-columns: 1fr !important; }
}

/* — Kontakt page: address/contact/map/anfahrt layout — */
.ds .kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas:
    "address map"
    "details map"
    "anfahrt map"
    "cta map";
  column-gap: clamp(24px, 5vw, 72px);
  row-gap: 36px;
  align-items: start;
}
.ds .kontakt-address { grid-area: address; }
.ds .kontakt-details { grid-area: details; }
.ds .kontakt-anfahrt { grid-area: anfahrt; }
.ds .kontakt-cta { grid-area: cta; }
.ds .kontakt-map { grid-area: map; }
.ds .phone-nowrap { white-space: nowrap; }

.ds .kontakt-anfahrt-block + .kontakt-anfahrt-block { margin-top: 16px; }
.ds .kontakt-anfahrt-heading {
  font-family: var(--font-heading); font-weight: 600; font-size: 15.5px;
  margin: 0 0 4px;
}
.ds .kontakt-anfahrt-text {
  font-size: 15.5px; line-height: 28px; margin: 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  text-align: justify; hyphens: auto;
}

@media (max-width: 768px) {
  .ds .kontakt-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "address"
      "details"
      "map"
      "anfahrt"
      "cta";
    row-gap: 28px;
    padding-bottom: 40px !important;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
  }
  .ds .kontakt-anfahrt-text {
    text-align: left !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }
  .ds .kontakt-map-frame {
    aspect-ratio: auto !important;
    height: clamp(230px, 60vw, 280px) !important;
  }
  .ds .kontakt-route-btn { width: 100%; }
  .ds .kontakt-cta {
    justify-self: start;
    max-width: 350px;
  }
}

/* — Site footer: centered, single-column stack on mobile (all pages) — */
.ds .site-footer-divider { display: none; }

@media (max-width: 768px) {
  .ds .site-footer-inner {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: var(--space-4) !important;
    text-align: center;
  }
  .ds .site-footer-brand {
    flex-direction: column !important;
    align-items: center !important;
    gap: var(--space-2) !important;
    text-align: center;
  }
  .ds .site-footer-brand-text { text-align: center; }
  .ds .site-footer-address { display: block; }
  .ds .site-footer-sep { display: none; }
  .ds .site-footer-divider {
    display: block;
    width: 100%;
    max-width: 160px;
    height: 1px;
    background: var(--color-divider);
    margin: 0;
  }
  .ds .site-footer-nav {
    flex-direction: column !important;
    align-items: center !important;
    gap: var(--space-2) !important;
    width: 100%;
  }
  .ds .site-footer-link {
    font-size: 12.5px !important;
    color: color-mix(in srgb, var(--color-text) 60%, transparent) !important;
    white-space: nowrap;
  }
  .ds .site-footer-copy { margin-top: var(--space-1) !important; }
}
</content>
