/* =====================================================================
   Stocherkahn Tübingen - Claus Hipp, der Neckar-Caruso
   Eigenständiges Design: warmes Papier, Neckarblau, Rostrot.
   Bewusst KEINE Parallax-Optik, keine Material-Farben.
   ===================================================================== */

:root {
  /* Farbwelt der Originalseite, behutsam aufgefrischt */
  --blau:        #184594;   /* Original-Linkblau und Menüblau */
  --blau-dunkel: #123571;
  --rost:        #cc3300;   /* Original-Rostrot (#c30) */
  --rost-dunkel: #a02807;
  --papier:      #dedeea;   /* Original-Seitenhintergrund */
  --karte:       #e5ebf8;   /* Original-Inhaltsfläche (rechte Spalte) */
  --karte2:      #d9e1f0;   /* Original-Seitenspalte */
  --tinte:       #333333;   /* Original-Textfarbe */
  --tinte-hell:  #5d6270;
  --linie:       #b7c0d6;   /* blaugraue Trennlinien */
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3 { font-family: var(--serif); font-weight: normal; line-height: 1.25; }
/* H1 rostrot, H2 weiß auf rostrotem Balken - wie auf der Originalseite */
h1 { font-size: 2.3rem; margin: 0 0 .5em; color: var(--rost); letter-spacing: .04em; }
h2 {
  font-size: 1.5rem;
  margin: 1.8em 0 .6em;
  background: var(--rost);
  color: #fff;
  text-align: center;
  padding: .35em .8em;
  letter-spacing: .06em;
}
h2 a { color: #fff; }
h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; color: var(--blau); }

a { color: var(--blau); }
a:hover { color: var(--rost); }

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

.inhalt {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem 1.2rem 3rem;
}

.schmal { max-width: 46rem; }

/* ------------------------------------------------ Kopf und Navigation */

.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--karte);
  border-bottom: 3px double var(--linie);
}

.kopf-innen {
  max-width: 72rem;
  margin: 0 auto;
  padding: .5rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.marke img { display: block; }

.nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  align-items: center;
}

.nav a {
  padding: .45rem .7rem;
  text-decoration: none;
  font-size: .98rem;
  color: var(--tinte);
  border-bottom: 2px solid transparent;
}

.nav a:hover { color: var(--rost); }

.nav a.aktiv {
  color: var(--blau);
  font-weight: 600;
  border-bottom-color: var(--rost);
}

.nav-cta {
  background: var(--rost);
  color: #fff !important;
  border-radius: 3px;
  margin-left: .4rem;
}

.nav-cta:hover { background: var(--rost-dunkel); }

.nav-knopf { display: none; }

@media (max-width: 56rem) {
  .nav-knopf {
    display: block;
    margin-left: auto;
    background: none;
    border: 1px solid var(--linie);
    border-radius: 4px;
    padding: .5rem .55rem;
    cursor: pointer;
  }
  .nav-knopf span {
    display: block;
    width: 1.4rem;
    height: 2px;
    background: var(--blau);
    margin: .3rem 0;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--karte);
    border-bottom: 3px double var(--linie);
    flex-direction: column;
    align-items: stretch;
    padding: .5rem 1rem 1rem;
  }
  .nav.offen { display: flex; }
  .nav a { padding: .7rem .5rem; font-size: 1.05rem; border-bottom: 1px dotted var(--linie); }
  .nav-cta { margin: .6rem 0 0; text-align: center; border-radius: 4px; }
}

/* ------------------------------------------------ Startbereich (Hero) */

.buehne {
  background: linear-gradient(180deg, var(--karte) 0%, var(--papier) 100%);
  border-bottom: 1px solid var(--linie);
}

.buehne-innen {
  max-width: 62rem;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.buehne h1 {
  font-size: 2.6rem;
  margin: 0 0 .3em;
}

.buehne .motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--rost);
  margin: 0 0 1em;
}

.buehne-bild img {
  display: block;
  max-height: 20rem;
  width: auto;
}

@media (max-width: 40rem) {
  .buehne-innen { grid-template-columns: 1fr; text-align: center; }
  .buehne h1 { font-size: 2rem; }
  .buehne-bild { display: none; }
}

/* Telefon-Knopf: Claus will angerufen werden */
.tel-knopf {
  display: inline-block;
  background: var(--blau);
  color: #fff !important;
  text-decoration: none;
  font-size: 1.15rem;
  padding: .7rem 1.3rem;
  border-radius: 4px;
  margin: .3rem .5rem .3rem 0;
}

.tel-knopf:hover { background: var(--blau-dunkel); }

.tel-knopf.rost { background: var(--rost); }
.tel-knopf.rost:hover { background: var(--rost-dunkel); }

.tel-hinweis { font-size: .92rem; color: var(--tinte-hell); margin-top: .4rem; }

/* ------------------------------------------------ Schnappschuss-Fotos */

.schnappschuesse {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1.8rem;
  margin: 1.5rem 0;
}

.schnappschuss {
  background: #fff;
  padding: .7rem .7rem 1rem;
  box-shadow: 2px 3px 10px rgba(60, 45, 20, .25);
  transform: rotate(-1.2deg);
  text-decoration: none;
  color: var(--tinte);
}

.schnappschuss:nth-child(2n) { transform: rotate(1.1deg); }
.schnappschuss:nth-child(3n) { transform: rotate(-.6deg); }

.schnappschuss:hover { transform: rotate(0) scale(1.02); transition: transform .15s; }

/* kleinere Variante für die Fotostreifen auf der Angebotsseite */
.schnappschuesse.klein {
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 1.2rem;
}

.schnappschuesse.klein figcaption { font-size: .85rem; padding-top: .4rem; }

.schnappschuss img { display: block; width: 100%; }

.schnappschuss figcaption {
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  padding-top: .6rem;
  color: var(--tinte);
}

/* ------------------------------------------------ Abschnitte, Karten */

.abschnitt { margin: 2.5rem 0; }

.karte-flaeche {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
  margin: 1.2rem 0;
}

.hinweis-rost {
  border-left: 4px solid var(--rost);
  background: var(--karte);
  padding: .8rem 1.2rem;
  margin: 1.2rem 0;
}

/* Angebotsübersicht */
.angebote-gitter {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.angebot-karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: var(--tinte);
  display: flex;
  flex-direction: column;
}

.angebot-karte:hover { border-color: var(--rost); color: var(--tinte); }

.angebot-karte h3 { margin: 0 0 .3rem; font-size: 1.15rem; }

.angebot-karte .kurz { flex: 1; font-size: .95rem; color: var(--tinte-hell); margin: 0 0 .6rem; }

.angebot-karte .preis {
  font-family: var(--serif);
  color: var(--rost);
  font-size: 1.05rem;
}

/* ------------------------------------------------ Preistabellen */

table.preise {
  border-collapse: collapse;
  width: 100%;
  max-width: 34rem;
  margin: 1rem 0;
  background: var(--karte);
}

table.preise caption {
  caption-side: top;
  text-align: left;
  font-family: var(--serif);
  color: var(--blau);
  padding-bottom: .4rem;
}

table.preise th, table.preise td {
  border: 1px solid var(--linie);
  padding: .5rem .8rem;
  text-align: left;
}

table.preise th { background: var(--blau); color: #fff; font-weight: normal; }

table.preise td.zahl { text-align: right; font-family: var(--serif); white-space: nowrap; }

/* ------------------------------------------------ Gästebuch */

.gb-karte {
  background: var(--karte);
  border: 1px solid var(--linie);
  border-radius: 4px;
  padding: 1.1rem 1.4rem .9rem;
  margin: 0 0 1.1rem;
  position: relative;
}

.gb-karte::before {
  content: '\201E';           /* öffnendes deutsches Anführungszeichen */
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--linie);
  position: absolute;
  top: -.4rem;
  left: .6rem;
}

.gb-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  padding-left: 1.6rem;
}

.gb-fuss {
  margin-top: .7rem;
  padding-left: 1.6rem;
  font-size: .9rem;
  color: var(--tinte-hell);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1rem;
}

.gb-name { color: var(--rost); font-weight: 600; }

/* Blätter-Navigation */
.blaettern {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 1.5rem 0;
}

.blaettern a, .blaettern span {
  padding: .35rem .7rem;
  border: 1px solid var(--linie);
  border-radius: 3px;
  text-decoration: none;
  background: var(--karte);
}

.blaettern span.hier { background: var(--blau); color: #fff; border-color: var(--blau); }

/* ------------------------------------------------ Formulare */

form.formular label { display: block; margin: .9rem 0 .25rem; font-weight: 600; }

form.formular input[type=text],
form.formular input[type=email],
form.formular textarea {
  width: 100%;
  max-width: 30rem;
  padding: .55rem .7rem;
  border: 1px solid var(--linie);
  border-radius: 3px;
  background: #fff;
  font: inherit;
}

form.formular textarea { max-width: 40rem; }

form.formular button {
  margin-top: 1.2rem;
  background: var(--rost);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: .7rem 1.5rem;
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
}

form.formular button:hover { background: var(--rost-dunkel); }

/* Honigtopf-Feld: für Menschen unsichtbar */
.hp-feld { position: absolute; left: -9999px; }

.meldung-ok, .meldung-fehler {
  padding: .9rem 1.2rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.meldung-ok { background: #e8efdd; border: 1px solid #9db87a; }
.meldung-fehler { background: #f3ded7; border: 1px solid var(--rost); }

/* ------------------------------------------------ Galerie */

.galerie-gitter {
  columns: 4 13rem;         /* packt Hoch- und Querformat dicht aneinander */
  column-gap: 1.2rem;
}

.galerie-gitter .lb-link {
  display: block;
  break-inside: avoid;
  margin-bottom: 1.2rem;
}

/* ------------------------------------------------ Lightbox */

.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(20, 16, 10, .92);
  align-items: center;
  justify-content: center;
}

.lb-overlay.offen { display: flex; }

.lb-figur {
  margin: 0;
  max-width: calc(100vw - 7rem);
  text-align: center;
}

.lb-bild {
  max-width: 100%;
  max-height: 85vh;
  background: #fff;
  padding: .5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}

.lb-titel {
  font-family: var(--serif);
  font-style: italic;
  color: #f0e9da;
  padding-top: .7rem;
}

.lb-schliessen, .lb-pfeil {
  background: none;
  border: none;
  color: #f0e9da;
  font-size: 2.2rem;
  cursor: pointer;
  padding: .5rem .9rem;
  line-height: 1;
}

.lb-schliessen {
  position: absolute;
  top: .5rem;
  right: .8rem;
  font-size: 2.8rem;
}

.lb-schliessen:hover, .lb-pfeil:hover { color: #fff; }

@media (max-width: 40rem) {
  .lb-figur { max-width: calc(100vw - 1rem); }
  .lb-pfeil { display: none; }   /* auf dem Handy wird gewischt */
}

/* ------------------------------------------------ Fußzeile */

.fuss {
  background: var(--blau);
  color: #dfe6f4;
  margin-top: 3rem;
}

.fuss a { color: #fff; }
.fuss a:hover { color: #f4c9ac; }

.fuss-innen {
  max-width: 62rem;
  margin: 0 auto;
  padding: 2rem 1.2rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  font-size: .95rem;
}

.fuss-titel {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: .4rem;
}

.fuss-schluss {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  padding: 1rem;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
