/* Getränke Kratzer – Farben aus dem Logo: Dunkelblau + Mint */

/* Schriften liegen auf dem eigenen Server (keine Verbindung zu Google) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
}

:root {
  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --schrift-titel: "Source Serif 4", Georgia, "Times New Roman", serif;
  --blau: #22348f;
  --mint: #e8f8f3;
  --text: #1d2433;
  --leise: #566074;
  --hg: #ffffff;
  --rand: #dfe4ec;
  --link: #22348f;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font: 1.0625rem/1.65 var(--schrift);
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  background: var(--hg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.2; }
h1, h2, h3, .marke, .zeitleiste strong, .recht summary { font-family: var(--schrift-titel); font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .75rem; }
h3 { font-size: 1.2rem; margin: 1rem 0 .3rem; }

.wrap { max-width: 64rem; margin-inline: auto; padding-inline: 1.25rem; }
.block { padding-block: 3rem; }
.leise { color: var(--leise); font-size: .95rem; }

/* Kopfzeile */
.kopf { position: sticky; top: 0; z-index: 5; background: var(--hg); border-bottom: 1px solid var(--rand); }
.kopf .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .5rem; }
.marke { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; text-decoration: none; color: var(--text); }
.marke img { width: 48px; height: 48px; border-radius: 50%; }
.kopf nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.kopf nav a { text-decoration: none; color: var(--text); font-weight: 500; }
.kopf nav a:hover { color: var(--link); }

/* Startbild */
.hero-rahmen { padding-top: 1.5rem; }
.hero {
  position: relative; overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(20, 30, 80, .18);
}
.hero img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 28, 85, .62) 0%, rgba(18, 28, 85, .3) 40%, rgba(18, 28, 85, 0) 65%);
}
.hero-text {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2.5rem; max-width: 40rem; color: #fff;
}
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 .6rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.hero p { font-size: 1.1rem; margin: 0; color: rgba(255, 255, 255, .92); }
.hero .knopf { background: #fff; color: var(--blau); }
.hero .knopf.zweit { background: transparent; color: #fff; border-color: #fff; }

@media (max-width: 700px) {
  .hero { box-shadow: none; border-radius: 14px; background: var(--blau); }
  .hero::after { display: none; }
  .hero img { aspect-ratio: 16 / 8; }
  .hero-text { position: static; padding: 1.4rem 1.25rem 1.5rem; }
}

.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem !important; }
.knopf { padding: .65rem 1.2rem; border-radius: 999px; background: var(--blau); color: #fff; text-decoration: none; font-weight: 600; }
.knopf.zweit { background: transparent; color: var(--link); border: 2px solid var(--link); }

/* Angebot */
.angebot img { max-width: 28rem; width: 100%; border-radius: 10px; border: 1px solid var(--rand); }

/* Sortiment */
.logos {
  list-style: none; padding: 0; margin: 1rem 0 0;
  display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
}
.logos li { background: #fff; border: 1px solid var(--rand); border-radius: 12px; padding: .6rem; display: flex; align-items: center; justify-content: center; }
.logos img { height: 56px; width: 100%; object-fit: contain; }

/* Service */
.raster { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.karte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.karte p { margin: 0; }

.geschichte p { max-width: 44rem; }

/* Kontakt */
.kontakt { background: var(--mint); padding-block: 3rem; }
.kontakt h3 { margin-top: 0; }
.kontakt p { margin: 0 0 .5rem; }

/* Rechtliches (aufklappbar) */
.recht details { border-top: 1px solid var(--rand); padding-block: .75rem; }
.recht summary { cursor: pointer; font-weight: 600; }
.recht p { font-size: .95rem; max-width: 48rem; }
.todo { background: #fff3cd; color: #5c4400; padding: 0 .3rem; border-radius: 4px; }

.fuss { border-top: 1px solid var(--rand); padding-block: 1.5rem; color: var(--leise); font-size: .95rem; }

/* Zeitleiste */
.zeitleiste { list-style: none; padding: 0; margin: 1.5rem 0 0 .4rem; border-left: 3px solid #a8e6d4; max-width: 44rem; }
.zeitleiste li { position: relative; padding: 0 0 1.25rem 1.5rem; }
.zeitleiste li:last-child { padding-bottom: 0; }
.zeitleiste li::before {
  content: ""; position: absolute; left: -9px; top: .35rem;
  width: 15px; height: 15px; border-radius: 50%; background: var(--blau);
}
.zeitleiste strong { display: block; color: var(--blau); }

/* Lieferservice */
.liefer { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 760px) { .liefer { grid-template-columns: 1fr; } }
.liefer-bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }
.gebiete { list-style: none; padding: 0; margin: .5rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.gebiete li { background: var(--mint); border: 1px solid #a8e6d4; border-radius: 999px; padding: .25rem .8rem; font-size: .95rem; }
.liefer .knopf { display: inline-block; }

.formular {
  background: #fff; border: 1px solid var(--rand); border-radius: 16px;
  padding: 1.5rem; box-shadow: 0 8px 24px rgba(20, 30, 80, .08);
  display: flex; flex-direction: column;
}
.formular h3 { margin-top: 0; }
.formular label { font-weight: 600; font-size: .95rem; margin: .8rem 0 .3rem; }
.formular input:not([type="checkbox"]), .formular textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: .65rem .8rem; border: 1px solid #c8cfdb; border-radius: 10px; background: #fff;
}
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--blau); outline-offset: 1px; border-color: var(--blau); }
.formular .einwilligung { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin-top: 1rem; }
.formular .einwilligung input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex-shrink: 0; }
.formular button { margin-top: 1.2rem; border: 0; cursor: pointer; font: inherit; font-weight: 600; align-self: flex-start; }
.formular button:disabled { opacity: .6; cursor: wait; }
.pflicht { color: #b42318; }
.versteckt { display: none; }
#formstatus { margin: .75rem 0 0; font-weight: 600; }
#formstatus.ok { color: #1f7a4d; }
#formstatus.fehler { color: #b42318; }

/* Route-planen-Links im Kontaktbereich */
.route {
  display: inline-block; margin-top: .25rem; padding: .45rem .9rem;
  border: 2px solid var(--blau); border-radius: 999px;
  color: var(--blau); font-weight: 600; text-decoration: none; background: #fff;
}
.route:hover { background: var(--blau); color: #fff; }

/* Unsere Getränkemärkte */
.maerkte { display: grid; gap: 1.5rem; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.maerkte-bild { width: 100%; height: 100%; min-height: 14rem; object-fit: cover; border-radius: 14px; }
@media (max-width: 760px) { .maerkte { grid-template-columns: 1fr; } .maerkte-bild { height: auto; aspect-ratio: 4 / 3; } }
.markt-karten { display: grid; gap: 1rem; }
.markt { background: var(--mint); border-radius: 14px; padding: 1.2rem 1.4rem; }
.markt h3 { margin-top: 0; }
.markt p { margin: 0 0 .5rem; }

/* Kleine Hinweise: Weinproben, Gutscheine, Bio */
.hinweis-klein { margin-top: .6rem !important; }
.karte .hinweis-klein { padding-top: .6rem; border-top: 1px solid var(--rand); }
.bio { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.bio-siegel {
  background: #2f7d32; color: #fff; font-weight: 700; font-size: .85rem;
  padding: .15rem .6rem; border-radius: 999px; letter-spacing: .02em;
}

/* Angebotsprospekt: zwei Seiten nebeneinander, am Handy untereinander */
.angebot-seiten { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 28rem)); }
.angebot-seiten .angebot img { max-width: 100%; width: 100%; }
@media (max-width: 600px) { .angebot-seiten { grid-template-columns: 1fr; } }
