/* Gasthof Grahlerfähre — Stil
   Schilfgrün #2E4A3C · Sand #F7F3EA · Messing #B8792F
   Fraunces (Überschriften) · Karla (Text) */

:root {
  --gruen:      #2E4A3C;
  --gruen-tief: #1E2A24;
  --sand:       #F7F3EA;
  --weiss:      #FFFFFF;
  --messing:    #B8792F;
  --messing-tf: #8A5A1E;
  --linie:      #E2DCCC;
  --text:       #1E2A24;
  --text-leise: #46524A;
  --platzhalter:#7B755F;
  --rand:       64px;
}

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

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

body {
  margin: 0;
  font-family: Karla, system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--sand);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { font-family: Fraunces, Georgia, "Times New Roman", serif; line-height: 1.12; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--messing-tf); }
a:hover { color: #6B4315; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--messing); outline-offset: 3px; }

.nur-vorleser {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.springen {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--messing); color: #fff; padding: 12px 18px;
  text-decoration: none; font-weight: 700; transition: top .15s;
}
.springen:focus { top: 12px; color: #fff; }

.bahn { max-width: 1280px; margin: 0 auto; padding: 0 var(--rand); }

/* ---------- Kopf ---------- */
.kopf { background: var(--gruen); }
.kopf-innen {
  max-width: 1280px; margin: 0 auto; padding: 14px var(--rand);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.marke { display: flex; flex-direction: column; text-decoration: none; }
.marke b { font-family: Fraunces, Georgia, serif; font-size: 25px; font-weight: 700; color: var(--sand); }
.marke span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #B7CBBE; }

.menue { display: flex; align-items: center; gap: 30px; }
.menue a { color: #E6EFE8; text-decoration: none; font-size: 16px; padding: 10px 2px; }
.menue a:hover, .menue a[aria-current="page"] { color: #fff; border-bottom: 2px solid var(--messing); }

.tel-knopf {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--messing); color: #fff !important; text-decoration: none;
  font-weight: 700; font-size: 16px; padding: 13px 22px; border-radius: 3px;
  min-height: 44px; border-bottom: 0 !important;
}
.tel-knopf:hover { background: #A46A26; color: #fff !important; }
.tel-knopf svg { flex-shrink: 0; }

/* ---------- Aufmacher ---------- */
.aufmacher { position: relative; min-height: 620px; display: flex; align-items: flex-end; background: #3B564A; }
.aufmacher .bild, .platzhalter-bild {
  background: repeating-linear-gradient(135deg, #E7E0CE 0 22px, #EDE7D7 22px 44px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--platzhalter); font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  padding: 16px;
}
.aufmacher .bild {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, #34503F 0 22px, #38553F 22px 44px);
  color: #9FB6A6;
}
.aufmacher .bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aufmacher-text {
  position: relative; max-width: 720px; margin: 0 var(--rand) 72px;
  background: rgba(23,38,31,.80); padding: 40px 44px; border-left: 4px solid var(--messing);
}
.aufmacher-text .kennzeile { color: #E0C9A1; }
.aufmacher-text h1 { font-size: clamp(34px, 5vw, 58px); color: #FBF8F1; margin-bottom: 18px; }
.aufmacher-text p { font-size: 19px; color: #E3EDE4; margin: 0; }

.kennzeile {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--messing-tf); margin: 0 0 12px;
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 84px 0 0; }
.abschnitt h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 22px; }

.dreier { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.karte { background: var(--weiss); border: 1px solid var(--linie); padding: 34px 32px; }
.karte h2, .karte h3 { font-size: 25px; font-weight: 600; margin-bottom: 12px; }
.karte p { font-size: 16px; color: var(--text-leise); }
.karte .weiter { font-size: 16px; font-weight: 700; text-decoration: none; }

.zwei-spalten { display: flex; gap: 56px; align-items: flex-start; }
.zwei-spalten > .bildseite { width: 560px; flex-shrink: 0; min-height: 420px; }
.zwei-spalten > .textseite { flex-grow: 1; min-width: 0; }

.zeiten { background: var(--weiss); border: 1px solid var(--linie); padding: 26px 30px; }
.zeiten h3 { font-family: Karla, sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.zeiten div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #EFEADB; font-size: 17px; }
.zeiten div:last-child { border-bottom: 0; }
.zeiten span:first-child { color: var(--text-leise); }
.zeiten span:last-child { font-weight: 700; }
.offen { color: var(--platzhalter); }

/* ---------- Grüner Block ---------- */
.gruen-block { background: var(--gruen); color: #FBF8F1; padding: 76px 0; margin-top: 96px; }
.gruen-block .kennzeile { color: #E0C9A1; }
.gruen-block h2 { color: #FBF8F1; margin-bottom: 40px; }
.gruen-block .paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.gruen-block .kachel { background: #FBF8F1; color: var(--text); }
.gruen-block .kachel .platzhalter-bild, .gruen-block .kachel img { height: 236px; }
.gruen-block .kachel .inhalt { padding: 28px 30px; }
.gruen-block .kachel h3 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.gruen-block .kachel p { font-size: 16px; color: var(--text-leise); }
.gruen-block .preis { font-size: 20px; font-weight: 700; color: var(--messing-tf); margin: 0; }

.knopf {
  display: inline-block; background: var(--messing); color: #fff !important;
  text-decoration: none; font-weight: 700; font-size: 17px; padding: 16px 30px;
  border-radius: 3px; min-height: 44px;
}
.knopf:hover { background: #A46A26; }
.knopf-gruen { background: var(--gruen); }
.knopf-gruen:hover { background: #24382E; }

/* ---------- Wohnungen ---------- */
.wohnung { background: var(--weiss); border: 1px solid var(--linie); display: flex; margin-bottom: 44px; }
.wohnung > .bildseite { width: 520px; flex-shrink: 0; min-height: 380px; }
.wohnung > .bildseite img { height: 100%; object-fit: cover; }
.wohnung .inhalt { flex-grow: 1; min-width: 0; padding: 40px 44px; display: flex; flex-direction: column; }
.wohnung h2 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.wohnung .unterzeile { font-size: 17px; color: #5C665E; margin-bottom: 24px; }
.wohnung ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.wohnung li { font-size: 16px; }
.wohnung li::before { content: "· "; color: var(--messing); font-weight: 700; }
.wohnung .fuss { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid #EFEADB; padding-top: 24px; }
.wohnung .fuss .preis { font-family: Fraunces, Georgia, serif; font-size: 26px; font-weight: 700; margin: 0; }
.wohnung .fuss .preis small { font-family: Karla, sans-serif; font-size: 16px; font-weight: 400; color: #5C665E; }

/* ---------- Formular ---------- */
.formular { background: var(--weiss); border: 1px solid var(--linie); padding: 38px 40px; display: flex; flex-direction: column; gap: 22px; }
.feldpaar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.feld { display: flex; flex-direction: column; gap: 8px; }
.feld label { font-size: 15px; font-weight: 700; }
.feld input, .feld select, .feld textarea {
  font-family: Karla, sans-serif; font-size: 16px; color: var(--text);
  border: 1px solid #C4BCA6; background: #FDFCF8; padding: 12px 14px; border-radius: 0;
}
.feld input, .feld select { min-height: 48px; }
.feld textarea { resize: vertical; min-height: 130px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--gruen); }
.zustimmung { display: flex; align-items: flex-start; gap: 12px; }
.zustimmung input { width: 22px; height: 22px; margin-top: 3px; flex-shrink: 0; }
.zustimmung label { font-size: 15px; line-height: 1.6; color: var(--text-leise); }
.absenden {
  align-self: flex-start; background: var(--gruen); color: #fff; border: 0;
  font-family: Karla, sans-serif; font-weight: 700; font-size: 17px;
  padding: 17px 34px; border-radius: 3px; cursor: pointer; min-height: 48px;
}
.absenden:hover { background: #24382E; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.kontaktkasten { background: var(--weiss); border: 1px solid var(--linie); padding: 26px 30px; }
.kontaktkasten .etikett { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #5C665E; margin: 0 0 6px; }
.kontaktkasten .gross { font-family: Fraunces, Georgia, serif; font-size: 29px; font-weight: 700; margin: 0 0 20px; }
.kontaktkasten .gross a { color: var(--text); text-decoration: none; }

.meldung { padding: 20px 24px; border-left: 4px solid; margin-bottom: 28px; }
.meldung.gut  { background: #EAF2EA; border-color: var(--gruen); }
.meldung.fehl { background: #F8ECE4; border-color: #A8471E; }
.meldung p:last-child { margin-bottom: 0; }

/* ---------- Termine (ostsee-infos.de) ---------- */
.termine { background: var(--weiss); border: 1px solid var(--linie); padding: 40px 44px; margin-top: 40px; }
.termine h2 { font-size: 30px; margin-bottom: 8px; }
.termine .quelle { font-size: 14px; color: #5C665E; margin: 0 0 22px; }
#ostsee-termine:empty::after {
  content: "Termine werden geladen …"; color: #5C665E; font-size: 16px;
}

/* ---------- Karte / Anfahrt ---------- */
.karten-platz { min-height: 320px; background: repeating-linear-gradient(135deg, #DFE6DC 0 22px, #E6ECE2 22px 44px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px; }
.karten-platz p { max-width: 460px; font-size: 15px; color: #46524A; }

/* ---------- Fließtextseiten ---------- */
.text-seite { max-width: 760px; }
.text-seite h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 28px; }
.text-seite h2 { font-size: 24px; margin: 36px 0 12px; }
.text-seite h3 { font-family: Karla, sans-serif; font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.text-seite p, .text-seite li { font-size: 17px; }
.text-seite ul { padding-left: 22px; }

/* ---------- Fuß ---------- */
.fusszeile { background: var(--gruen-tief); color: #F7F3EA; padding: 48px 0; margin-top: 96px; }
.fusszeile .innen { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.fusszeile b { display: block; font-family: Fraunces, Georgia, serif; font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.fusszeile p { font-size: 15px; color: #AEBFB3; margin: 0; }
.fusszeile nav { display: flex; gap: 28px; flex-wrap: wrap; }
.fusszeile nav a { font-size: 15px; color: #D4DFD6; text-decoration: none; }
.fusszeile nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 980px) {
  :root { --rand: 24px; }
  body { font-size: 17px; }
  .kopf-innen { flex-wrap: wrap; gap: 14px; }
  .menue { order: 3; width: 100%; gap: 20px; flex-wrap: wrap; justify-content: flex-start; }
  .menue .tel-knopf { display: none; }
  .kopf-innen > .tel-knopf { order: 2; }
  .aufmacher { min-height: 420px; }
  .aufmacher-text { margin: 0 var(--rand) 24px; padding: 24px 26px; }
  .dreier { grid-template-columns: 1fr; }
  .zwei-spalten { flex-direction: column; gap: 32px; }
  .zwei-spalten > .bildseite { width: 100%; min-height: 240px; }
  .gruen-block .paar { grid-template-columns: 1fr; }
  .wohnung { flex-direction: column; }
  .wohnung > .bildseite { width: 100%; min-height: 220px; }
  .wohnung .inhalt { padding: 28px 24px; }
  .wohnung ul { grid-template-columns: 1fr; }
  .feldpaar { grid-template-columns: 1fr; }
  .formular { padding: 26px 22px; }
  .termine { padding: 26px 22px; }
  .abschnitt { padding-top: 56px; }
  .gruen-block { margin-top: 56px; padding: 48px 0; }
  .fusszeile { margin-top: 56px; }
}

@media (max-width: 520px) {
  .kopf-innen > .tel-knopf { width: 100%; justify-content: center; }
  .aufmacher-text h1 { font-size: 30px; }
}
