/* ==========================================================================
   OMAM – Alltagsbegleitung
   Ein Stylesheet für die ganze Seite. Alle Werte stehen als Variablen
   in Gruppe 01; die Gruppen darunter verwenden nur diese Variablen.
   Breakpoints (Variablen gehen in Media Queries nicht):
     sm  640px  ·  md  900px  ·  lg  1100px
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Farben: Salbeigrün ------------------------------------------- */
  --sage-900: #313c26;
  --sage-800: #415032;
  --sage-700: #55663d;
  --sage-600: #6b7d4f;
  --sage-500: #879770;
  --sage-300: #bfc8ab;
  --sage-200: #d9dfca;
  --sage-100: #e9ecdf;

  /* --- Farben: Creme ----------------------------------------------- */
  --cream-50: #fdfaf4;
  --cream-100: #f8f2e7;
  --cream-200: #f0e6d4;
  --cream-300: #e4d5bc;

  /* --- Farben: Rollen ---------------------------------------------- */
  --bg: var(--cream-100);
  --surface: var(--cream-50);
  --surface-alt: var(--sage-100);
  --text: #3b342d;
  --text-muted: #675d53;
  --heading: var(--sage-800);
  --brand: var(--sage-700);
  --brand-hover: var(--sage-800);
  --on-brand: #fdfaf4;
  --on-dark: #fbf8f1;
  --on-dark-muted: #dbe1cd;
  --border: #e3d8c4;
  --ring: #8a9c6c;
  --overlay: rgba(49, 60, 38, 0.55);

  /* --- Schriften ---------------------------------------------------- */
  --font-heading: "Lora", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --font-script: "Caveat", "Segoe Print", cursive;

  /* --- Schriftgrößen (Basis 18px für gute Lesbarkeit) -------------- */
  --fs-xs:.85rem;
  --fs-sm: 0.95rem;
  --fs-base: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.35rem, 1.1rem + 0.8vw, 1.6rem);
  --fs-2xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem);
  --fs-3xl: clamp(2.2rem, 1.5rem + 2.8vw, 3.5rem);
  --fs-script: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  --fs-script-lg: clamp(2rem, 1.4rem + 2.2vw, 3rem);

  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.65;

  --ls-wide: 0.12em;

  /* --- Abstände (4px-Raster) --------------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --section-space: clamp(var(--space-12), 8vw, 7rem);

  /* --- Gaps --------------------------------------------------------- */
  --gap-xs: var(--space-2);
  --gap-sm: var(--space-3);
  --gap-md: var(--space-5);
  --gap-lg: var(--space-8);
  --gap-xl: var(--space-12);

  /* --- Radien ------------------------------------------------------- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --radius-arch: 220px 220px var(--radius-lg) var(--radius-lg);

  /* --- Rahmen ------------------------------------------------------- */
  --border-width: 1px;
  --border-width-strong: 2px;

  /* --- Schatten (warm getönt) -------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(65, 52, 35, 0.06), 0 2px 6px rgba(65, 52, 35, 0.05);
  --shadow-md: 0 4px 12px rgba(65, 52, 35, 0.08), 0 12px 28px rgba(65, 52, 35, 0.06);
  --shadow-lg: 0 18px 48px rgba(65, 52, 35, 0.14);
  --shadow-focus: 0 0 0 3px var(--cream-50), 0 0 0 6px var(--ring);

  /* --- Layout ------------------------------------------------------- */
  --container-width: 1160px;
  --container-narrow: 760px;
  --gutter: clamp(var(--space-4), 4vw, var(--space-8));
  --header-height: 82px;
  --icon-size: 1.25rem;
  --icon-size-lg: 1.75rem;
  --logo-width: 44px;
  --tap-size: 48px;
  --curve-depth: 48px;

  /* --- Ebenen ------------------------------------------------------- */
  --z-header: 100;
  --z-nav: 110;
  --z-skip: 200;

  /* --- Bewegung ----------------------------------------------------- */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-base: 0ms;
  }
}


/* ==========================================================================
   02. RESET & BASIS
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, figure, address {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

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

a {
  color: var(--brand);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brand-hover);
}

strong {
  font-weight: var(--fw-bold);
  color: var(--heading);
}

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: var(--z-skip);
  padding: var(--space-2) var(--space-4);
  background: var(--brand);
  color: var(--on-brand);
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}


/* ==========================================================================
   03. LAYOUT & CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

.section-head {
  max-width: var(--container-narrow);
  margin: 0 auto var(--gap-xl);
  text-align: center;
}


/* ==========================================================================
   04. TYPOGRAFIE
   ========================================================================== */
.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  color: var(--heading);
}

.section-title__script {
  display: inline-block;
  margin-top: var(--space-2);
}

.eyebrow {
  margin-bottom: var(--space-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--brand);
}

.script {
  font-family: var(--font-script);
  font-size: var(--fs-script);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  color: var(--brand);
}


/* ==========================================================================
   05. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);
  min-height: var(--tap-size);
  padding: var(--space-3) var(--space-6);
  border: var(--border-width-strong) solid transparent;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease),
              transform var(--duration-fast) var(--ease),
              box-shadow var(--duration-fast) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--brand-hover);
  color: var(--on-brand);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  border-color: var(--sage-300);
  color: var(--brand);
}

.btn--ghost:hover {
  background: var(--surface-alt);
  border-color: var(--sage-500);
}

.btn--sm {
  min-height: 40px;
  padding: var(--space-2) var(--space-5);
  font-size: var(--fs-sm);
}

.btn--block {
  width: 100%;
}

.btn:focus-visible {
  border-radius: var(--radius-full);
}


/* ==========================================================================
   06. KOPFZEILE & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(248, 242, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: var(--border-width) solid var(--border);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
  color: var(--brand);
  text-decoration: none;
}

.brand__mark {
  width: 150px;
  height: auto;
  /*aspect-ratio: 64 / 40;*/
}

.brand__name {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
}

.brand--light,
.brand--light:hover {
  color: var(--on-dark);
}

/* Menü-Schalter (nur mobil, ohne JavaScript) */
.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nav-toggle__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap-size);
  height: var(--tap-size);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle:focus-visible + .nav-toggle__label {
  box-shadow: var(--shadow-focus);
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--heading);
  border-radius: var(--radius-full);
  transition: transform var(--duration-base) var(--ease),
              background-color var(--duration-base) var(--ease);
}

.nav-toggle__bar {
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after  { top: 7px; }

.nav-toggle:checked + .nav-toggle__label .nav-toggle__bar {
  background: transparent;
}

.nav-toggle:checked + .nav-toggle__label .nav-toggle__bar::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle__label .nav-toggle__bar::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Navigation (mobil: aufklappbar) */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-4) var(--gutter) var(--space-6);
  background: var(--surface);
  border-bottom: var(--border-width) solid var(--border);
  box-shadow: var(--shadow-md);
}

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

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
}

.site-nav__link {
  display: flex;
  align-items: center;
  min-height: var(--tap-size);
  padding-inline: var(--space-2);
  font-weight: var(--fw-semibold);
  color: var(--text);
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--brand);
}


/* ==========================================================================
   07. HERO
   ========================================================================== */
.hero {
  padding-block: var(--space-12) var(--section-space);
}

.hero__inner {
  display: grid;
  gap: var(--gap-xl);
  align-items: center;
}

.hero__tagline {
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero__lead {
  max-width: 34ch;
  margin-top: var(--space-6);
  font-size: var(--fs-lg);
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-top: var(--space-8);
}

.hero__values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-xs) var(--gap-md);
  margin-top: var(--space-8);
  font-weight: var(--fw-semibold);
  color: var(--brand);
}

.hero__values li {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
}

.hero__values li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--sage-500);
  border-radius: var(--radius-full);
}

/* Bildrahmen (Hintergrund bleibt sichtbar, solange kein Bild da ist) */
.media {
  overflow: hidden;
  background: linear-gradient(160deg, var(--sage-200), var(--cream-300));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media {
  aspect-ratio: 4 / 5;
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
  border-radius: var(--radius-arch);
}


/* ==========================================================================
   08. ZITAT-BAND
   ========================================================================== */
.quote-band {
  padding-block: var(--space-16);
  background: var(--sage-700);
  color: var(--on-dark);
  text-align: center;
  /*border-radius: 50% 50% 50% 50% / var(--curve-depth) var(--curve-depth) var(--curve-depth) var(--curve-depth);*/
}

.quote-band__script {
  font-size: var(--fs-script-lg);
  color: var(--on-dark);
}

.quote-band__text {
  margin-top: var(--space-3);
  font-size: var(--fs-lg);
  color: var(--on-dark-muted);
}


/* ==========================================================================
   09. ANGEBOT
   ========================================================================== */
.services__grid {
  display: grid;
  gap: var(--gap-sm);
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-sm);
  padding: var(--space-5);
  background: var(--surface);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  transition: transform var(--duration-base) var(--ease),
              box-shadow var(--duration-base) var(--ease);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  flex-shrink: 0;
  padding: var(--space-1);
  width: calc(var(--icon-size) + var(--space-2));
  height: calc(var(--icon-size) + var(--space-2));
  background: var(--surface-alt);
  border-radius: var(--radius-full);
}

.services__note {
  max-width: var(--container-narrow);
  margin: var(--gap-xl) auto 0;
  padding: var(--space-8);
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  text-align: center;
}

.services__note-title {
  margin-bottom: var(--space-2);
}


/* ==========================================================================
   10. MEHR ALS BEGLEITUNG
   ========================================================================== */
.home-feel {
  background: var(--surface);
}

.home-feel__inner {
  display: grid;
  gap: var(--gap-xl);
  align-items: center;
}

.home-feel__content p {
  margin-top: var(--space-5);
}

.home-feel__card {
  padding: var(--space-8);
  background: var(--bg);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.home-feel__lines {
  display: grid;
  gap: var(--gap-xs);
  font-family: var(--font-script);
  font-size: var(--fs-script);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
  color: var(--brand);
}

.home-feel__note {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: var(--border-width) solid var(--border);
  color: var(--text-muted);
}


/* ==========================================================================
   11. WARUM OMAM
   ========================================================================== */
.story__inner {
  display: grid;
  gap: var(--gap-xl);
  align-items: center;
}

.story__media {
  aspect-ratio: 4 / 5;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
}

.story__content > p:not(.eyebrow) {
  margin-top: var(--space-5);
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-xs);
  margin-top: var(--space-5);
}

.values__item {
  padding: var(--space-2) var(--space-5);
  background: var(--surface-alt);
  border-radius: var(--radius-full);
  font-family: var(--font-script);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--brand);
}

.story__content .story__closing {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  margin-top: var(--space-8);
  font-weight: var(--fw-bold);
  color: var(--heading);
}

.story__closing-icon {
  flex-shrink: 0;
  color: var(--sage-600);
}


/* ==========================================================================
   12. FÜR WEN
   ========================================================================== */
.audience {
  background: var(--surface);
}

.audience__grid {
  display: grid;
  gap: var(--gap-md);
}

.audience-card {
  padding: var(--space-8);
  background: var(--bg);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.audience-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap-size);
  height: var(--tap-size);
  margin-bottom: var(--space-4);
  background: var(--surface-alt);
  border-radius: var(--radius-full);
  color: var(--brand);
}

.audience-card__title {
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--heading);
}

.audience__cta {
  max-width: var(--container-narrow);
  margin: var(--gap-xl) auto 0;
  text-align: center;
}

.audience__cta p:not(.script) {
  margin-block: var(--space-4) var(--space-6);
  color: var(--text-muted);
}


/* ==========================================================================
   13. MOMENT
   ========================================================================== */
.moment {
  padding-block: var(--space-20);
  background-color: var(--sage-600);
  background-image: linear-gradient(var(--overlay), var(--overlay)), url("../img/moment.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.moment__text {
  max-width: 22ch;
  margin-inline: auto;
  font-size: var(--fs-script-lg);
  color: var(--on-dark);
}


/* ==========================================================================
   14. KONTAKT
   ========================================================================== */
.contact__inner {
  display: grid;
  gap: var(--gap-xl);
  align-items: center;
}

.contact__intro p:not(.eyebrow) {
  margin-top: var(--space-5);
}

.contact-card {
  padding: var(--space-8);
  background: var(--surface);
  border: var(--border-width) solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.contact-card__logo {
  width: calc(var(--logo-width) * 1.4);
  height: auto;
  margin: 0 auto var(--space-4);
  color: var(--brand);
}

.contact-card__name {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--heading);
}

.contact-card__role {
  color: var(--text-muted);
}

.contact-card__list {
  display: grid;
  gap: var(--gap-sm);
  margin-block: var(--space-6);
  padding-block: var(--space-6);
  border-block: var(--border-width) solid var(--border);
  text-align: left;
}

.contact-card__item {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  min-height: var(--tap-size);
}

.contact-card__item .icon {
  color: var(--brand);
}

.contact-card__item a {
  font-weight: var(--fw-semibold);
  word-break: break-word;
}


/* ==========================================================================
   15. FUSSZEILE
   ========================================================================== */
.site-footer {
  padding-block: var(--space-16) var(--space-8);
  background: var(--sage-800);
  color: var(--on-dark-muted);
  text-align: center;
}

.site-footer__inner {
  display: grid;
  gap: var(--gap-md);
  justify-items: center;
}

.site-footer__tagline {
  color: var(--on-dark);
}

.site-footer__claim {
  font-size: var(--fs-lg);
  color: var(--on-dark);
}

.site-footer__legal {
  display: flex;
  gap: var(--gap-md);
}

.site-footer__legal a {
  color: var(--on-dark-muted);
  font-size: var(--fs-xs);
}

.site-footer__legal a:hover {
  color: var(--on-dark);
}

.site-footer__copy {
  font-size: var(--fs-xs);
}


/* ==========================================================================
   16. ICONS & SPRITE
   ========================================================================== */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: var(--icon-size);
  height: var(--icon-size);
  flex-shrink: 0;
  color: inherit;
}

.audience-card__icon .icon {
  width: var(--icon-size-lg);
  height: var(--icon-size-lg);
}

.service-card__icon {
  color: var(--brand);
}


/* ==========================================================================
   17. RESPONSIVE (mobile first)
   ========================================================================== */

/* --- sm: ab 640px ------------------------------------------------------ */
@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* --- md: ab 900px ------------------------------------------------------ */
@media (min-width: 900px) {
  .nav-toggle__label {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: var(--gap-lg);
  }

  .hero {
    padding-top: var(--space-16);
  }

  .hero__inner {
    grid-template-columns: 1.1fr 1fr;
  }

  .home-feel__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }

  .story__inner {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
  }

  .contact__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-16);
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
    justify-items: start;
    text-align: left;
  }


  .site-footer__copy {
    justify-self: start;
  }

  .site-footer__legal{
      justify-self: end;
  }
}

/* --- lg: ab 1100px ----------------------------------------------------- */
@media (min-width: 1100px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
