/* =========================================================
   Emsländer Hof – Gestaltung
   Farben aus dem Logo abgeleitet (#D2A177)
   Keine externen Schriften, keine externen Dienste.
   ========================================================= */

:root {
  --sand:    #D2A177;
  --kupfer:  #9C6535;
  --dunkel:  #2B2320;
  --creme:   #FAF5EF;
  --creme-2: #F3E9DD;
  --text:    #40382F;
  --grau:    #6E645A;
  --linie:   #E3D6C6;
  --weiss:   #FFFFFF;

  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --breite: 1140px;
  --rand: clamp(1rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--kupfer); }
a:hover { color: var(--dunkel); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--dunkel);
  line-height: 1.25;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }

p { margin: 0 0 1.2em; }

.inhalt {
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.schmal { max-width: 760px; }

/* Kleine Überschrift über der großen */
.vorzeile {
  display: block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--kupfer);
  margin-bottom: .9em;
}

/* --------------------------------------------- Knöpfe */
.knopf {
  display: inline-block;
  padding: .85em 2em;
  background: var(--kupfer);
  color: var(--weiss);
  text-decoration: none;
  font-size: .92rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--kupfer);
  transition: background .2s, color .2s;
}
.knopf:hover { background: var(--dunkel); border-color: var(--dunkel); color: var(--weiss); }

.knopf-hell {
  background: transparent;
  color: var(--weiss);
  border-color: rgba(255,255,255,.75);
}
.knopf-hell:hover { background: var(--weiss); color: var(--dunkel); border-color: var(--weiss); }

.knopf-linie {
  background: transparent;
  color: var(--kupfer);
}
.knopf-linie:hover { background: var(--kupfer); color: var(--weiss); }

/* --------------------------------------------- Kopfbereich */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--linie);
  backdrop-filter: blur(6px);
}

.kopf-innen {
  max-width: var(--breite);
  margin-inline: auto;
  padding: .7rem var(--rand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.kopf-logo img { height: 58px; width: auto; }

.navigation ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navigation a {
  text-decoration: none;
  color: var(--text);
  font-size: .87rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.navigation a:hover { color: var(--kupfer); border-bottom-color: var(--sand); }
.navigation a.aktiv { color: var(--kupfer); border-bottom-color: var(--kupfer); }

.nav-tel {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--kupfer);
  text-decoration: none;
  white-space: nowrap;
}
.nav-tel:hover { color: var(--dunkel); }

/* Menüknopf für kleine Bildschirme */
.nav-schalter {
  display: none;
  background: none;
  border: 1px solid var(--linie);
  padding: .55rem .7rem;
  cursor: pointer;
  line-height: 0;
}
.nav-schalter span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dunkel);
  margin: 4px 0;
}

@media (max-width: 960px) {
  .nav-schalter { display: block; }
  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--weiss);
    border-bottom: 1px solid var(--linie);
    display: none;
  }
  .navigation.offen { display: block; }
  .navigation ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--rand) 1.2rem;
  }
  .navigation a {
    display: block;
    padding: .85rem 0;
    border-bottom: 1px solid var(--linie);
    font-size: .95rem;
  }
  .navigation a:hover { border-bottom-color: var(--linie); }
  .nav-tel { display: none; }
}

/* --------------------------------------------- Bühne */
.buehne {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--weiss);
  text-align: center;
  background: var(--dunkel);
  overflow: hidden;
}

.buehne-klein { min-height: 46vh; }

.buehne img.buehne-bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
}

/* Dunkler Verlauf hinter der Schrift – sonst geht sie bei hellen
   Bildstellen unter, besonders auf dem Handy. */
.buehne::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center,
              rgba(20,15,12,.55) 0%, rgba(20,15,12,.22) 55%, rgba(20,15,12,.35) 100%);
}

.buehne-innen {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin-inline: auto;
  padding: 5rem var(--rand);
}

.buehne h1 { color: var(--weiss); text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.buehne .vorzeile { color: var(--sand); }
.buehne p {
  font-size: 1.15rem;
  max-width: 620px;
  margin-inline: auto;
  text-shadow: 0 1px 16px rgba(0,0,0,.5);
}

.buehne-knoepfe {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* --------------------------------------------- Abschnitte */
.abschnitt { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.abschnitt-creme { background: var(--creme); }
.abschnitt-dunkel { background: var(--dunkel); color: #E8DFD5; }
.abschnitt-dunkel h2, .abschnitt-dunkel h3 { color: var(--weiss); }
.abschnitt-dunkel .vorzeile { color: var(--sand); }

.mitte { text-align: center; }
.mitte .vorzeile { margin-inline: auto; }

.abschnitt-kopf { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.abschnitt-kopf p { color: var(--grau); }
.abschnitt-dunkel .abschnitt-kopf p { color: #C9BEB2; }

/* Zweispaltig: Bild neben Text */
.paar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.paar-bild img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.paar-gedreht .paar-bild { order: 2; }

@media (max-width: 860px) {
  .paar { grid-template-columns: 1fr; }
  .paar-gedreht .paar-bild { order: 0; }
}

/* --------------------------------------------- Karten */
.karten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1.6rem;
}

.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  display: flex;
  flex-direction: column;
}
.karte img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.karte-text { padding: 1.7rem 1.6rem 1.9rem; flex: 1; display: flex; flex-direction: column; }
.karte-text p { color: var(--grau); }
.karte-text .knopf, .karte-text .knopf-linie { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------- Preise */
.preise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.preis {
  background: var(--weiss);
  border: 1px solid var(--linie);
  padding: 2.2rem 1.5rem;
  text-align: center;
}
/* Der Titel darf zweizeilig sein – die Beträge bleiben trotzdem auf einer Höhe. */
.preis h3 { margin-bottom: .3em; min-height: 2.5em; }
.preis .betrag {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--kupfer);
  display: block;
  line-height: 1.1;
}
.preis .je { color: var(--grau); font-size: .9rem; display: block; margin-bottom: .2rem; }
.preis .hinweis { color: var(--grau); font-size: .82rem; }

/* --------------------------------------------- Merkmale */
.merkmale {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.2rem 2rem;
}
.merkmal h3 { font-size: 1.1rem; margin-bottom: .35em; }
.merkmal p { font-size: .95rem; color: var(--grau); margin: 0; }
.abschnitt-dunkel .merkmal p { color: #C2B7AA; }
.merkmal::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--sand);
  margin-bottom: 1rem;
}

/* --------------------------------------------- Aufzählung */
.haken { list-style: none; padding: 0; margin: 0 0 1.6em; }
.haken li {
  position: relative;
  padding-left: 1.7em;
  margin-bottom: .45em;
}
.haken li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 9px;
  height: 9px;
  border: 1px solid var(--sand);
  background: var(--sand);
  transform: rotate(45deg);
}

/* --------------------------------------------- Galerie */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: .9rem;
}
.galerie img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: opacity .25s;
}
.galerie a:hover img { opacity: .8; }

/* --------------------------------------------- Aktuelles */
.beitraege {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.beitrag {
  background: var(--weiss);
  border: 1px solid var(--linie);
  display: flex;
  flex-direction: column;
}
.beitrag img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.beitrag-text { padding: 1.6rem 1.5rem 1.8rem; }
.beitrag-datum {
  display: block;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--kupfer);
  margin-bottom: .6em;
}
.beitrag h3 { margin-bottom: .45em; }
.beitrag p { margin-bottom: 0; color: var(--grau); white-space: pre-line; }

.beitrag-voll { max-width: 820px; margin: 0 auto 3.5rem; }
.beitrag-voll img { margin-bottom: 1.8rem; }
.beitrag-voll p { white-space: pre-line; }

.leer-hinweis {
  text-align: center;
  color: var(--grau);
  padding: 3rem 1rem;
  border: 1px dashed var(--linie);
}

/* --------------------------------------------- Kontaktblock */
.kontakt-gitter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}
.kontakt-feld h3 { font-size: 1.05rem; letter-spacing: .05em; }
.kontakt-feld p { margin-bottom: .3em; }
.kontakt-feld a { text-decoration: none; }

.zeiten { width: 100%; border-collapse: collapse; }
.zeiten th, .zeiten td {
  text-align: left;
  padding: .55rem 0;
  border-bottom: 1px solid var(--linie);
  font-weight: 400;
}
.zeiten td:last-child { text-align: right; color: var(--grau); }

/* --------------------------------------------- Fußbereich */
.fuss {
  background: var(--dunkel);
  color: #BFB4A8;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  font-size: .95rem;
}
.fuss-gitter {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 760px) { .fuss-gitter { grid-template-columns: 1fr; } }

.fuss h4 {
  color: var(--weiss);
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.1em;
}
.fuss a { color: #BFB4A8; text-decoration: none; }
.fuss a:hover { color: var(--sand); }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .5em; }
.fuss-logo { max-width: 230px; margin-bottom: 1.3rem; filter: brightness(0) invert(1) opacity(.85); }

.fuss-unten {
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 3rem;
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .87rem;
}

/* --------------------------------------------- Hilfsklassen */
.abstand-oben { margin-top: 2rem; }
.text-mitte { text-align: center; }

/* Sprungmarke für Tastaturnutzung */
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--weiss);
  padding: .8rem 1.2rem;
  border: 2px solid var(--kupfer);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
