/* Geoprint Studios · Website. Farben und Schrift nach Brand Book F. Keine Eyebrows. */

@font-face { font-family: "Yantramanav"; font-weight: 300; font-display: swap; src: url("/fonts/yantramanav-light.woff2") format("woff2"); }
@font-face { font-family: "Yantramanav"; font-weight: 400; font-display: swap; src: url("/fonts/yantramanav-regular.woff2") format("woff2"); }
@font-face { font-family: "Yantramanav"; font-weight: 500; font-display: swap; src: url("/fonts/yantramanav-medium.woff2") format("woff2"); }

:root {
  --tinte: #122B2E;
  --petrol: #0E6670;
  --petrol-600: #277882;
  --petrol-400: #71AFB8;
  --petrol-300: #9ACBD2;
  --petrol-100: #E0F1F6;
  --limette: #B5CF58;
  --grau-600: #535D5E;
  --grau-50: #F4FAFD;
  --linie: #DCE7E9;
  --rand: clamp(20px, 5vw, 56px);
  --rund: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Yantramanav", Arial, sans-serif; font-size: 18px; line-height: 1.5; color: var(--tinte); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--petrol); }
h1, h2, h3, h4 { font-weight: 500; margin: 0; }
h1, h2 { letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.09; }  /* Überschrift 2: 46/50 */
h3 { font-size: clamp(24px, 2.6vw, 28px); line-height: 1.21; }  /* Überschrift 3: 28/34 */
.breite { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--rand); }
.sprung { position: absolute; left: -999px; }
.sprung:focus { left: 12px; top: 12px; z-index: 10; background: #fff; padding: 8px 12px; }
.klein { font-size: 16px; color: var(--grau-600); margin: 4px 0 0; }
.punkt { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--limette); margin-right: 10px; vertical-align: 0.1em; flex: none; }

/* Knöpfe */
.knopf { display: inline-block; white-space: nowrap; padding: 12px 22px; border-radius: 999px; font: inherit; font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.knopf-petrol { background: var(--petrol); color: #fff; }
.knopf-petrol:hover { background: var(--petrol-600); }
.knopf-rand { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.knopf-hell { background: #fff; color: var(--petrol); }
.knopf-hell:hover { background: var(--petrol-100); }
.link-knopf { background: none; border: 0; padding: 0; font: inherit; color: var(--petrol); text-decoration: underline; cursor: pointer; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 2px; }
.kopf :focus-visible { outline-color: #fff; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--linie); }
.nav-innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav-logo img { height: 32px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--tinte); text-decoration: none; font-size: 17px; }
.nav-links a:hover { color: var(--petrol); }
.nav-schalter { display: none; background: none; border: 0; padding: 10px; margin: 0 -10px 0 -8px; color: var(--tinte); cursor: pointer; border-radius: 8px; }
/* Schmal: Die Sprungmarken klappen unter der Leiste auf. Ohne JavaScript bleibt der Schalter
   versteckt und die Marken stehen als zweite Zeile da. */
@media (max-width: 860px) {
  .nav nav { gap: 14px; }
  .nav-schalter:not([hidden]) { display: block; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); padding: 4px var(--rand) 10px; gap: 4px 20px; flex-wrap: wrap; }
  .nav-links a { padding: 10px 0; }
  .nav.mit-schalter .nav-links { display: none; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; box-shadow: 0 14px 24px rgba(18, 43, 46, .08); }
  .nav.mit-schalter .nav-links a { padding: 13px 0; font-size: 19px; border-top: 1px solid var(--linie); }
  .nav.mit-schalter.offen .nav-links { display: flex; }
}
/* Handy: Logo, Knopf und Schalter müssen in eine Zeile passen, das Logo bleibt 32 px hoch. */
@media (max-width: 440px) {
  .nav-innen { gap: 10px; }
  .nav nav { gap: 8px; }
  .nav-shop { padding: 9px 16px; }
  .nav-shop-zum { display: none; }
}

/* Kopfbereich */
.kopf { position: relative; overflow: hidden; background: var(--petrol); color: #fff; }
.kopf-kugel { position: absolute; right: -170px; top: -150px; width: 640px; height: auto; pointer-events: none; }
@media (max-width: 1100px) { .kopf-kugel { right: -260px; } }
.kopf-innen { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(64px, 9vw, 104px); }
.kopf-knopf { margin: 30px 0 0; }
/* Drei Karten, gefächert: links und rechts leicht gedreht, die mittlere vorn. */
.kopf-karten { position: relative; width: clamp(360px, 40vw, 500px); aspect-ratio: 5 / 4; }
.kopf-karten img { position: absolute; top: 50%; width: 42%; height: auto; border-radius: 3px; box-shadow: 0 18px 40px rgba(6, 40, 44, .38); }
.kopf-karten img:nth-child(1) { left: 0; transform: translateY(-48%) rotate(-7deg); }
.kopf-karten img:nth-child(2) { left: 29%; z-index: 1; transform: translateY(-52%); }
.kopf-karten img:nth-child(3) { right: 0; transform: translateY(-48%) rotate(7deg); }
.kopf h1 { font-size: clamp(44px, 7vw, 64px); line-height: 1.03; max-width: 8.5em; }
/* Schmal: Kugel nur unten rechts aus der Ecke, mit Platz unter dem Text (Brand Book: nie hinter Text) */
@media (max-width: 860px) {
  .kopf-kugel { display: none; }
  .kopf-innen { grid-template-columns: 1fr; }
  .kopf-karten { width: min(100%, 440px); margin: 8px auto 0; }
}
.einleitung { text-wrap: pretty; font-weight: 300; font-size: clamp(21px, 2.4vw, 24px); line-height: 1.46; margin: 18px 0 0; }

/* Abschnitte */
.abschnitt { padding: clamp(64px, 9vw, 96px) 0; }
.abschnitt-hell { background: var(--grau-50); }
.unter { text-wrap: pretty; font-weight: 300; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.46; color: var(--grau-600); margin: 12px 0 0; max-width: 34em; }
.text { font-size: 18px; line-height: 28px; color: var(--tinte); margin: 14px 0 0; max-width: 40em; }
.unter.dunkel { color: var(--tinte); }
.orte-hinweis { margin-bottom: 28px; }
.zwischen { margin: 44px 0 16px; }

/* Postkarten und Poster */
.kacheln { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kachel { display: block; height: 100%; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; color: var(--tinte); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.kachel:hover { border-color: var(--petrol); box-shadow: 0 6px 18px rgba(14, 102, 112, .12); }
.kachel img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.kachel-text { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 16px 20px 18px; align-items: baseline; }
.kachel-name { font-size: 24px; font-weight: 500; }
.kachel-preis { font-size: 19px; font-weight: 500; color: var(--petrol); }
.kachel-text .klein { grid-column: 1 / -1; margin: 0; }
@media (max-width: 860px) { .kacheln { grid-template-columns: 1fr; max-width: 520px; } }
/* Handy: Bild links, Text rechts, damit drei Kacheln nicht drei Bildschirme füllen */
@media (max-width: 560px) {
  .kachel { display: grid; grid-template-columns: 38% 1fr; align-items: center; }
  .kachel img { height: 100%; aspect-ratio: 1 / 1; }
  .kachel-text { grid-template-columns: 1fr; padding: 12px 16px; }
  .kachel-name { font-size: 22px; }
}

/* Hier gibt es unsere Karten */
.anbieter { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.anbieter-kachel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 150px; padding: 16px; border: 1px solid var(--linie); border-radius: var(--rund); color: var(--grau-600); text-decoration: none; text-align: center; font-size: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
a.anbieter-kachel:hover { border-color: var(--petrol); box-shadow: 0 6px 18px rgba(14, 102, 112, .12); }
.anbieter-kachel img { height: 40px; width: auto; }
.anbieter-kachel img.wortmarke { height: var(--h, 22px); max-width: 100%; margin: calc((40px - var(--h, 22px)) / 2) 0; }
@media (max-width: 900px) { .anbieter { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .anbieter { grid-template-columns: repeat(2, 1fr); } .anbieter-kachel { height: 130px; } }

/* Gibt's deinen Ort? */
.orte { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: clamp(32px, 6vw, 72px); align-items: center; }
.orte-bild { margin: 0; position: relative; }
.orte-bild figcaption { font-size: 16px; color: var(--grau-600); margin-top: 10px; }
.orte-karte { width: 100%; height: auto; }
.orte-karte .land { fill: var(--petrol-100); stroke: var(--petrol-300); stroke-width: 1; }
.orte-karte { touch-action: manipulation; cursor: crosshair; }
.orte-karte circle { fill: var(--petrol); transition: r .1s; }
.orte-karte circle.aktiv { r: 7; fill: var(--limette); stroke: var(--petrol); stroke-width: 3; }
.orte-suche { margin: 26px 0 0; max-width: 30em; }
.orte-suche label { display: block; font-weight: 500; margin-bottom: 8px; }
.orte-suche-zeile { display: flex; gap: 10px; }
.orte-feld { position: relative; flex: 1; min-width: 0; }
.orte-suche input { width: 100%; font: inherit; font-size: 18px; color: var(--tinte); padding: 11px 18px; border: 1.5px solid var(--petrol-300); border-radius: 999px; background: #fff; }
.orte-suche input:focus { border-color: var(--petrol); outline-offset: 1px; }
/* Vorschläge: klein, direkt unter dem Feld; mehr als sechs Zeilen lassen sich scrollen */
.orte-vorschlaege { max-height: 262px; overflow-y: auto; overscroll-behavior: contain; position: absolute; z-index: 3; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--linie); border-radius: 14px; box-shadow: 0 10px 28px rgba(18, 43, 46, .14); font-size: 17px; }
.orte-vorschlaege li { padding: 8px 12px; border-radius: 9px; cursor: pointer; }
.orte-vorschlaege li[aria-selected="true"], .orte-vorschlaege li:hover { background: var(--petrol-100); }
.orte-suche input::-webkit-search-cancel-button { display: none; }
.orte-treffer { min-height: 28px; margin: 12px 0 0; }
.orte-treffer:empty { margin: 0; min-height: 0; }
.orte-schild { position: absolute; transform: translate(-50%, calc(-100% - 10px)); background: var(--tinte); color: #fff; font-size: 16px; font-weight: 500; padding: 5px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
@media (max-width: 800px) { .orte { grid-template-columns: 1fr; } .orte-bild { max-width: 360px; } }

/* Im Laden: links die Karte, rechts die Läden als Liste in gleicher Höhe, die bei vielen Läden scrollt */
.laeden { --hoehe: 460px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; align-items: stretch; margin-top: 36px; }
.karte-rahmen { border-radius: var(--rund); overflow: hidden; background: var(--petrol-100); }
#ladenkarte { height: var(--hoehe); }
#ladenkarte iframe { display: block; width: 100%; height: 100%; border: 0; }
.laeden.ohne-karte { grid-template-columns: 1fr; }
.laden-spalte { display: flex; flex-direction: column; min-height: 0; max-height: var(--hoehe); }
.laden-anzahl { margin: 0 0 10px; }
.ladenliste { list-style: none; padding: 0 6px 0 0; margin: 0; display: grid; gap: 10px; align-content: start; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--petrol-300) transparent; }
.laden { background: #fff; border: 1.5px solid var(--linie); border-radius: var(--rund); padding: 16px 20px 18px; }
.laden[data-karte].waehlbar { cursor: pointer; }
.laden[data-karte].waehlbar:hover { border-color: var(--petrol-300); }
.laden.aktiv.waehlbar { border-color: var(--petrol); box-shadow: inset 4px 0 0 var(--petrol); }
.laden h3 { font-size: 22px; line-height: 1.25; }
.laden .klein { margin-top: 2px; }
.produkte { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.produkte a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--petrol-100); color: var(--tinte); text-decoration: none; font-size: 16px; }
.produkte a:hover { background: var(--petrol-300); }
.laden-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 0 0; font-size: 16px; }
.laeden-hinweis { margin-top: 20px; }
@media (max-width: 900px) {
  .produkte a { padding: 9px 14px; }
  .laden-links a, .laden-links .link-knopf { padding: 9px 0; }
  .laeden { --hoehe: 340px; grid-template-columns: 1fr; }
  .laden-spalte { order: -1; max-height: min(62vh, 480px); }
}

/* Platzhalter vor Zustimmung */
.platzhalter { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px; text-align: center; color: var(--grau-600); font-size: 16px; background: var(--petrol-100); border-radius: var(--rund); min-height: 220px; }
.platzhalter p { max-width: 30em; margin: 0; }

/* Märkte */
.termine { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.termin { background: var(--grau-50); border: 1px solid var(--linie); border-radius: var(--rund); padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.abschnitt-hell .termin { background: #fff; }
.termin-datum { font-size: 30px; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.termin-text { display: flex; flex-direction: column; gap: 2px; }
.termin-name { font-size: 21px; }
.termin-name a { color: var(--tinte); }
.spaeter { margin: 18px 0 0; max-width: 40em; }
.spaeter a { color: var(--tinte); }
.termin-hinweis { margin-top: 8px; }
.galerien { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.galerie-karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; }
.galerie-bilder { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; height: 250px; overflow: hidden; }
.galerie-bilder img { width: 100%; height: 100%; object-fit: cover; }
.galerie-bilder img:first-child { grid-row: span 2; }
.galerie-bilder img:only-child { grid-column: span 2; }
.galerie-text { padding: 14px 18px 16px; }
.galerie-text h4 { font-size: 19px; }
.galerie-text h4 a { color: var(--tinte); }
.weitere { margin-top: 18px; }
.mehr { margin: 28px 0 0; text-align: center; }
.knopf-rand:hover { background: var(--petrol-100); }
@media (max-width: 900px) { .galerien { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .galerien { grid-template-columns: 1fr; } }

/* Galerie-Overlay */
.overlay { position: fixed; inset: 0; z-index: 20; background: rgba(18, 43, 46, .94); display: flex; align-items: center; justify-content: center; }
.overlay img { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.overlay button { position: absolute; background: rgba(18, 43, 46, .62); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 24px; cursor: pointer; }
.overlay .zu { top: 18px; right: 18px; }
.overlay .zurueck { left: 12px; top: 50%; transform: translateY(-50%); }
.overlay .weiter { right: 12px; top: 50%; transform: translateY(-50%); }
.overlay p { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: 16px; margin: 0; padding: 0 70px; }

/* Über uns */
.ueber { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.ueber-bild { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund); }
@media (max-width: 800px) { .ueber { grid-template-columns: 1fr; } .ueber-bild { aspect-ratio: 4 / 3; } }

/* Fußzeile */
.fuss { border-top: 1px solid var(--linie); padding: 48px 0 28px; font-size: 16px; color: var(--grau-600); }
.fuss-innen { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.fuss-marke img { height: 32px; width: auto; }
.fuss-marke p { margin: 14px 0 0; max-width: 16em; }
.fuss-titel { font-weight: 500; color: var(--tinte); margin: 0 0 10px; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fuss a, .fuss .link-knopf { color: var(--grau-600); text-decoration: none; }
.fuss a:hover, .fuss .link-knopf:hover { color: var(--petrol); text-decoration: underline; }
.fuss .quelle { margin-top: 36px; }
@media (max-width: 860px) {
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .fuss-marke { grid-column: 1 / -1; }
  /* Fingerfreundlich: jede Zeile mindestens 44 px hoch */
  .fuss ul { gap: 0; }
  .fuss a, .fuss .link-knopf { display: inline-block; padding: 10px 0; }
  .fuss-titel { margin-bottom: 2px; }
}

/* Zustimmungsbanner */
.banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 15; display: flex; justify-content: center; }
.banner-innen { max-width: 720px; background: #fff; border-radius: var(--rund); box-shadow: 0 12px 40px rgba(18, 43, 46, .25); padding: 22px 24px; font-size: 16px; color: var(--grau-600); }
.banner-titel { font-weight: 500; font-size: 19px; color: var(--tinte); margin: 0 0 6px; }
.banner-innen p { margin: 0 0 12px; }
.banner-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* Textseiten */
.text-seite { max-width: 780px; }
.seiten-titel { font-size: clamp(36px, 5vw, 52px); margin-bottom: 26px; }
.text-h2 { font-size: clamp(24px, 2.6vw, 28px); line-height: 1.21; letter-spacing: 0; margin: 34px 0 8px; }

/* Quellenangabe für Weltkugel und Ortskarte */
.quelle { font-size: 15px; color: var(--grau-600); }
