/* ==========================================================
   alsace-guide.com – gemeinsames Stylesheet für alle Seiten
   ========================================================== */

:root {
  --blau: #1b3a6b;          /* Menü, Überschriften */
  --blau-dunkel: #12284a;   /* Fußbereich */
  --blau-hell: #f4f7fc;     /* helle Flächen */
  --linie: #dbe3ef;
  --text: #14233b;
  --text-leise: #4a5d7a;
  --terrakotta: #b4532f;    /* Logo und Kapseln */
  --platzhalter: #4f6788;   /* graue Platzhalter, solange keine Fotos da sind */
  --schrift-text: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --schrift-titel: Georgia, "Times New Roman", serif;
  --rand: 48px;             /* seitlicher Abstand (auf dem Handy kleiner) */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--schrift-text);
  color: var(--text);
  background: #ffffff;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }
a:focus-visible { outline: 3px solid #8fb4ff; outline-offset: 2px; }

h1, h2, h3 { margin: 0; font-family: var(--schrift-titel); font-weight: 400; }
p { margin: 0; }

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

/* ---------- Kopfzeile ---------- */

.kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 12px var(--rand);
  border-bottom: 1px solid var(--linie);
}

.logo { display: inline-flex; align-items: center; min-height: 64px; }
.logo img { display: block; height: 64px; width: auto; }

.menue { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: 15px; }
.menue a { padding: 12px 10px; border-bottom: 2px solid transparent; }
.menue a[aria-current="page"] { border-bottom-color: var(--blau); color: var(--blau); font-weight: 600; }

.sprachen { display: flex; align-items: center; margin-left: 14px; font-size: 13px; color: var(--text-leise); }
.sprachen a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 8px; }
.sprachen a[aria-current="true"] { color: var(--blau); font-weight: 700; }
.sprachen svg { flex: none; width: 20px; height: 14px; box-shadow: 0 0 0 1px rgba(20, 35, 59, 0.25); }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 28px;
  font-weight: 600;
  font-size: 16px;
  background: var(--blau);
  color: #ffffff;
}
.knopf-hell { background: #ffffff; color: var(--blau); }

/* ---------- Titelbild (Hero) ---------- */
/* Später ein Foto einsetzen: in index.html im <section class="hero">
   style="--foto: url(images/titelbild.jpg)" ergänzen. */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px var(--rand);
  color: #ffffff;
  background-color: var(--platzhalter);
  background-image: linear-gradient(to top, rgba(10, 24, 48, 0.85) 0%, rgba(10, 24, 48, 0.4) 45%, rgba(10, 24, 48, 0) 75%), var(--foto, none);
  background-size: cover;
  background-position: center;
}
.hero-inhalt { max-width: 720px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; }
.hero p { font-size: 18px; }

/* Hinweis "Foto-Platzhalter" – verschwindet, sobald man das Hinweis-Element löscht */
.hinweis {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Touren ---------- */

.touren { padding: 72px var(--rand) 24px; }
.kleintitel { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-leise); }
.touren h2 { margin-top: 8px; font-size: 36px; color: var(--blau); }

.kacheln {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

/* Jede Kachel ist ein Foto mit weißer Schrift. Foto einsetzen:
   in der Kachel style="--foto: url(images/altstadt.jpg)" ergänzen. */
.kachel {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  color: #ffffff;
  background-color: var(--platzhalter);
  background-image: linear-gradient(to top, rgba(10, 24, 48, 0.88) 0%, rgba(10, 24, 48, 0) 65%), var(--foto, none);
  background-size: cover;
  background-position: center;
}
.kachel h3 { font-size: 26px; line-height: 1.15; }
.kachel-breit { grid-column: span 2; }

.dauer {
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--terrakotta);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Seite "Stadtführungen" ---------- */

.seitenkopf { padding: 56px var(--rand) 40px; background: var(--blau-hell); }
.seitenkopf h1 { margin-top: 8px; font-size: clamp(32px, 4.5vw, 48px); color: var(--blau); }
/* Seitenkopf mit Foto (wie das Banner der Startseite) */
.seitenkopf-foto {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  background-color: var(--platzhalter);
  background-image: linear-gradient(to top, rgba(10, 24, 48, 0.85) 0%, rgba(10, 24, 48, 0.45) 55%, rgba(10, 24, 48, 0.1) 100%), var(--foto, none);
  background-size: cover;
  background-position: var(--pos, center);
}
.seitenkopf-foto h1, .seitenkopf-foto .einleitung { color: #ffffff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.seitenkopf-hoch { min-height: 400px; }
.seitenkopf-hell { background-image: linear-gradient(to top, rgba(10, 24, 48, 0.4) 0%, rgba(10, 24, 48, 0.12) 55%, rgba(10, 24, 48, 0) 100%), linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)), var(--foto, none); }
.seitenkopf-hell h1, .seitenkopf-hell .einleitung { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 14px rgba(0, 0, 0, 0.6); }
.seitenkopf-schmal { min-height: 120px; padding-top: 24px; padding-bottom: 20px; }
@media (max-width: 600px) { .seitenkopf-foto { min-height: 240px; } .seitenkopf-hoch { min-height: 340px; } .seitenkopf-schmal { min-height: 110px; } }
.seitenkopf .einleitung + .einleitung { margin-top: 10px; }
.seitenkopf .einleitung { margin-top: 14px; max-width: 680px; font-size: 18px; line-height: 1.6; }

.sprungmarken { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sprungmarken a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--blau);
  border-radius: 999px;
  font-size: 15px;
  color: var(--blau);
  background: #ffffff;
}

.tour {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px 56px;
  align-items: center;
  padding: 56px var(--rand);
  border-bottom: 1px solid var(--linie);
  scroll-margin-top: 8px;
}
.tour-umgekehrt .tour-foto { order: 2; }

/* Foto zur Tour. Foto einsetzen: im <div class="tour-foto"> style="--foto: url(images/name.jpg)" ergänzen. */
.tour-foto {
  position: relative;
  min-height: 340px;
  color: #ffffff;
  background-color: var(--platzhalter);
  background-image: var(--foto, none);
  background-size: cover;
  background-position: center;
}

.tour-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tour-text h2 { font-size: 34px; line-height: 1.15; color: var(--blau); }
.tour-text .erlebnis { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-leise); }
.tour-text p { font-size: 17px; line-height: 1.65; max-width: 600px; }
.tour-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.weg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blau);
}
.weg svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tag {
  padding: 4px 12px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-leise);
}
.info { font-size: 15px; line-height: 1.6; color: #34476a; max-width: 600px; }
.info strong { color: var(--blau); }

/* ---------- Seite "Stadtplan & Anreise" ---------- */

.plan { padding: 56px var(--rand) 24px; }
.plan h2, .anreise h2 { font-size: 34px; color: var(--blau); }
.karte { margin: 28px 0 0; }
.karte svg { display: block; width: 100%; height: auto; border: 1px solid var(--linie); }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 901px) {
  .plan { padding-top: 28px; }
  .karte { margin-top: 0; }
  .karte svg { width: auto; max-width: 100%; height: calc(100vh - 130px); max-height: 900px; min-height: 480px; margin: 0 auto; }
  .karte figcaption { text-align: center; }
}
.karte figcaption { margin-top: 10px; font-size: 14px; color: var(--text-leise); }

/* Beschriftungen im Stadtplan (Größen gelten im Plan, der sich mit der Seitenbreite verkleinert) */
.karte text { paint-order: stroke; stroke: #f4f7fc; stroke-width: 6px; stroke-linejoin: round; }
.karte .k-pin text, .karte .k-massstab text { stroke: none; }
.karte .k-zone { font-size: 30px; font-weight: 700; fill: var(--blau); font-family: var(--schrift-text); }
.karte .k-ort { font-size: 25px; font-weight: 600; fill: var(--text); font-family: var(--schrift-text); }
.karte .k-klein { font-size: 22px; fill: var(--text-leise); font-family: var(--schrift-text); }
.karte .k-pin circle { fill: var(--terrakotta); stroke: #ffffff; stroke-width: 3; }
.karte .k-dist { font-weight: 600; fill: #34476a; }
.karte .k-pin text { fill: #ffffff; font-size: 22px; font-weight: 700; font-family: var(--schrift-text); }

.startpunkte { margin: 24px 0 0; padding: 0 0 0 22px; max-width: 760px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; }
.startpunkte strong { color: var(--blau); }

.anreise { padding: 56px var(--rand) 24px; }
.anreise h2 { margin-top: 8px; }
.infokarten { display: grid; grid-template-columns: minmax(0, 760px); gap: 24px; margin-top: 28px; }
.infokarte { padding: 28px; background: var(--blau-hell); display: flex; flex-direction: column; gap: 14px; }
.infokarte h3 { font-size: 26px; color: var(--blau); }
.infokarte p { font-size: 17px; line-height: 1.65; }
.infokarte .info { font-size: 15px; }
.textlink { color: var(--blau); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- Banner "Kontakt aufnehmen" ---------- */

.tour + .banner { margin-top: 0; }
.anreise + .banner { margin-top: 48px; }

.banner {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 16px var(--rand);
  background: var(--terrakotta);
  color: #ffffff;
}
.banner h2 { font-size: 24px; line-height: 1.2; }
.banner p { margin-top: 2px; font-size: 15px; }
.knopf-gross {
  min-height: 44px;
  padding: 0 28px;
  font-size: 16px;
  background: #ffffff;
  color: var(--terrakotta);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

/* ---------- Wer ich bin ---------- */

/* Markenname in der Schrift und Farbe des Logos */
.markenname {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terrakotta);
}

.guide {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
  padding: 72px var(--rand);
  background: var(--blau-hell);
}
.portraet {
  position: relative;
  flex: 0 1 220px;
  width: 220px;
  max-width: 100%;
  height: 280px;
  color: #ffffff;
  background-color: var(--platzhalter);
  background-image: var(--foto, none);
  background-size: cover;
  background-position: center;
}
.guide-text { flex: 1 1 360px; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
/* Vorname in Großbuchstaben, Schrift und Farbe wie im Logo */
.guide-text h2.vorname {
  font-family: var(--schrift-text);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terrakotta);
}
.guide-text .absatz { font-size: 18px; line-height: 1.6; }
.guide-text .fakten { font-size: 16px; line-height: 1.6; color: #34476a; }

/* ---------- Seite Ihr Guide ---------- */
.profil { display: flex; flex-wrap: wrap; gap: 40px 64px; padding: 56px var(--rand) 40px; align-items: flex-start; }
.portraet-gross { flex: 0 1 300px; width: 300px; height: 380px; }
.profil-text { flex: 1 1 380px; max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.profil-text h2 { font-size: 34px; color: var(--blau); }
.profil-text h3 { margin-top: 10px; font-size: 24px; color: var(--blau); }
.profil-text p { font-size: 18px; line-height: 1.65; }
.profil-text .fakten { font-size: 16px; color: #34476a; }
.guide-karten { display: grid; grid-template-columns: minmax(0, 760px); gap: 24px; padding: 8px var(--rand) 56px; }
@media (max-width: 900px) { .guide-karten { grid-template-columns: 1fr; } .portraet-gross { width: 100%; flex-basis: 100%; height: 320px; } }

/* ---------- Seite Honorar ---------- */
.tarife { display: flex; flex-wrap: wrap; gap: 40px; padding: 48px var(--rand) 24px; align-items: flex-start; }
.tarif { flex: 1 1 380px; max-width: 560px; }
.tarif h2, .hinweise h2 { font-size: 26px; color: var(--blau); margin-bottom: 14px; }
.tarif table { width: 100%; border-collapse: collapse; font-size: 18px; }
.tarif th { text-align: left; padding: 12px 16px; background: var(--blau); color: #ffffff; font-weight: 600; font-size: 16px; }
.tarif th:last-child, .tarif td:last-child { text-align: right; white-space: nowrap; }
.tarif td { padding: 14px 16px; border-bottom: 1px solid var(--linie); }
.tarif td:last-child { font-weight: 700; color: var(--blau); }
.tarif tbody tr:nth-child(even) td { background: var(--blau-hell); }
.hinweise { padding: 32px var(--rand) 56px; max-width: 900px; }
.hinweise ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hinweise li, .hinweise .wichtig { font-size: 17px; line-height: 1.6; }
.hinweise .wichtig { margin-top: 24px; padding: 20px 24px; background: var(--blau-hell); border-left: 4px solid var(--terrakotta); }

/* Breites Foto unter dem Seitentitel. Foto einsetzen: style="--foto: url(images/name.jpg)" ergänzen. */
.seitenfoto {
  position: relative;
  height: 280px;
  color: #ffffff;
  background-color: var(--platzhalter);
  background-image: var(--foto, none);
  background-size: cover;
  background-position: center;
}
@media (max-width: 600px) { .seitenfoto { height: 180px; } }

/* ---------- Seite Kontakt ---------- */
.kontakt { display: flex; flex-wrap: wrap; gap: 24px; padding: 48px var(--rand) 72px; }
.kontakt-karte { flex: 1 1 320px; max-width: 520px; padding: 32px; background: var(--blau-hell); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.kontakt-icon { color: var(--terrakotta); }
.kontakt-karte h2 { font-size: 28px; color: var(--blau); }
.kontakt-link { font-size: 20px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.kontakt-karte .knopf { margin-top: 6px; }

/* ---------- Impressum und Datenschutz ---------- */
.rechtstext { padding: 48px var(--rand) 72px; max-width: 820px; }
.rechtstext h2 { margin-top: 32px; margin-bottom: 8px; font-size: 24px; color: var(--blau); }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext p { font-size: 17px; line-height: 1.7; }
.rechtstext a { color: var(--blau); text-decoration: underline; }
.rechtstext .stand { margin-top: 32px; font-size: 14px; color: var(--text-leise); }

/* ---------- Fotoalbum: ein großes Foto, Weiterklicken oder Wischen ---------- */
.galerie { padding: 20px var(--rand) 48px; }
.folien {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  width: min(100%, 1180px, calc((100vh - 270px) * 1.6));
  min-width: min(100%, 520px);
  margin: 0 auto;
}
.folien::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) { .folien { scroll-behavior: smooth; } }
.folien:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }
.folie {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-margin-top: 16px;
  aspect-ratio: 16 / 10;
  color: #ffffff;
  background-color: var(--platzhalter);
  background-image: var(--foto, none);
  background-size: cover;
  background-position: center;
}
@media (max-width: 600px) { .folie { aspect-ratio: 4 / 3; } }
.pfeil {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blau);
}
.pfeil:hover { background: #ffffff; }
.pfeil:focus-visible { outline: 3px solid var(--terrakotta); outline-offset: 2px; }
.pfeil svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pfeil-zurueck { left: 14px; }
.pfeil-weiter { right: 14px; }
.zaehler { position: absolute; right: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(18, 40, 74, 0.75); font-size: 14px; }
@media (max-width: 600px) { .galerie { padding: 16px 0 40px; } .folien { width: 100%; min-width: 0; } .pfeil { width: 42px; height: 42px; } }

/* ---------- Fußbereich ---------- */

.fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 48px;
  padding: 56px var(--rand);
  background: var(--blau-dunkel);
  color: #c9d6ea;
  font-size: 15px;
  line-height: 1.7;
}
.fuss-spalte { display: flex; flex-direction: column; gap: 2px; }
.fuss-spalte a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------- Tablet ---------- */

@media (max-width: 900px) {
  .kacheln { grid-template-columns: repeat(2, 1fr); }
  .kachel-breit { grid-column: span 2; }
  .tour { grid-template-columns: 1fr; }
  .infokarten { grid-template-columns: 1fr; }
  .tour-umgekehrt .tour-foto { order: 0; }
  .tour-foto { min-height: 280px; }
}

/* ---------- Handy ---------- */

@media (max-width: 600px) {
  :root { --rand: 20px; }

  .kopf { justify-content: center; }
  .menue { justify-content: center; font-size: 14px; }
  .menue a { padding: 10px 8px; }
  .sprachen { margin-left: 0; width: 100%; justify-content: center; }

  .hero { min-height: 460px; padding-top: 32px; padding-bottom: 32px; }
  .touren { padding-top: 48px; }
  .touren h2 { font-size: 30px; }

  .kacheln { grid-template-columns: 1fr; }
  .kachel-breit { grid-column: auto; }
  .kachel { min-height: 280px; }

  .guide { padding-top: 48px; padding-bottom: 48px; }
  .guide-text h2.vorname { font-size: 28px; }
  .fuss { padding-top: 40px; padding-bottom: 40px; }
  .seitenkopf { padding-top: 40px; }
  .plan, .anreise { padding-top: 40px; }
  .plan h2, .anreise h2 { font-size: 28px; }
  .infokarte { padding: 22px; }
  .tour { padding-top: 40px; padding-bottom: 40px; }
  .tour-foto { min-height: 220px; }
  .tour-text h2 { font-size: 28px; }
  .banner { margin-top: 40px; padding-top: 20px; padding-bottom: 20px; }
  .banner h2 { font-size: 20px; }
  .banner .knopf-gross { width: 100%; justify-content: center; }
  .markenname { font-size: 14px; }
}
