/* =========================================================
   Stadt Land Fluss — Platzhalterseite
   Externe Stylesheet-Datei zu index.html
   ========================================================= */

/* ---------- Schriften (lokal gehostet, DSGVO-konform) ----------
   Cormorant Garamond & EB Garamond, Fontsource (SIL Open Font License).
   Keine Verbindung zu Google-Servern. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-400.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-garamond-500.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/cormorant-garamond-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/eb-garamond-400.woff2") format("woff2");
}
@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/eb-garamond-500.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben */
  --cream:        #f3eee8;  /* Grundton Hintergrund */
  --cream-deep:   #e7e0d3;  /* Footer, dezent abgesetzt */
  --forest:       #35473c;  /* Akzent: Überschriften, Signet, Labels */
  --ink:          #5c5346;  /* Fließtext */
  --ink-soft:     #6c6255;  /* sekundärer Text / Beschreibungen */
  --hero-text:    #f3efe7;  /* Text auf dem Hero-Bild */
  --line:         #b9ac97;  /* Trennlinien */
  --darkbrown:	  #364737;

  /* Schriften */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "EB Garamond", Georgia, "Times New Roman", serif;

  /* Layout */
  --wrap:         1120px;
}

/* ---------- Reset / Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* =========================================================
   HEADER / SIGNET
   ========================================================= */
.site-header {
  background-color: var(--cream);
  display: flex;
  justify-content: center;
  padding: 1.68rem 1.05rem;
}

.logo {
  display: inline-block;
  color: var(--forest);
  line-height: 0;
}

.logo__badge {
  width: 184px;
  height: 184px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 4rem clamp(1.5rem, 6vw, 6rem);

  /* Dunkler Verlauf für Textlesbarkeit (bleibt) + Platzhalter-Bildebene.
     FINALES BILD: die letzte Ebene ersetzen durch:
     url("images/hero.jpg") center/cover no-repeat;
     Den dunklen Verlauf darüber unbedingt beibehalten. */
  background:
    linear-gradient(90deg, rgba(20,15,10,0.15) 0%, rgba(20,15,10,0.60) 70%),
    
    url("images/SB_SLF_Banner_Landingpage.jpg") center/cover no-repeat;
  background-size: cover;
  background-position: center;
}

.hero__content {
  max-width: 26rem;
  text-align: left;
  color: var(--hero-text);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.hero__title span { display: block; }

.hero__rule {
  display: block;
  width: 52px;
  height: 1px;
  margin: 1.6rem 0 1.4rem;
  background-color: rgba(243, 239, 231, 0.6);
}

.hero__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: rgba(243, 239, 231, 0.92);
}

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  background-color: var(--cream);
  padding-block: clamp(4rem, 9vw, 6.5rem);
  text-align: center;
}

.intro.kontakt {
  background: linear-gradient(135deg, #16100a 0%, #2a1e12 55%, #47331f 100%);
  padding-block: clamp(4rem, 9vw, 6.5rem);
  text-align: center;
}

.intro__title {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--forest);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.01em;
}

.intro__text {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.intro.kontakt .intro__text {
  color: var(--cream);
}

/* =========================================================
   LEISTUNGEN
   ========================================================= */
.services {
  background-color: var(--cream);
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.service {
  text-align: center;
}

.service__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 1.5rem;
}

.service__label {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
}

.service__text {
  margin: 0 auto;
  max-width: 20rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: var(--cream-deep);
  padding-block: 2.4rem;
  color: var(--ink-soft);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.site-footer__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.site-footer__nav a {
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.site-footer__nav a:hover { opacity: 0.65; }

.site-footer__sep { color: var(--line); }

.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.8;
}

/* =========================================================
   TEXTSEITEN (Impressum / Datenschutz)
   ========================================================= */
.legal {
  background-color: var(--cream);
  padding-block: clamp(3rem, 7vw, 5rem);
}

.legal .wrap { max-width: 48rem; }

.legal__title {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--forest);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
}

.legal h2 {
  margin: 2.6rem 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--forest);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.2;
}

.legal p,
.legal address {
  margin: 0 0 1rem;
  color: var(--ink);
  font-style: normal;
}

.legal a { color: var(--forest); }

.legal__note {
  margin-bottom: 2.2rem;
  padding: 0.9rem 1.1rem;
  border-left: 2px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.legal__back {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--forest);
  text-decoration: none;
  font-size: 0.98rem;
}
.legal__back:hover { opacity: 0.65; }

/* =========================================================
   FOKUS / BARRIEREFREIHEIT
   ========================================================= */
a:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero a:focus-visible {
  outline-color: var(--hero-text);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 820px) {
  .hero {
    justify-content: center;
    text-align: center;
    min-height: 62vh;
  }
  .hero__content { text-align: center; }
  .hero__rule { margin-inline: auto; }
}

/* Smartphone */
@media (max-width: 560px) {
  body { font-size: 1.06rem; }

  .site-header { padding-block: 2rem; }
  .logo__badge { width: 92px; height: 92px; }

  .hero {
    min-height: 0;
    padding-block: 3.5rem;
  }

  .intro__text br { display: none; }   /* natürlicher Umbruch auf kleinen Screens */

  .services__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
