/* ============================================================
   Heurigen.at — Stylesheet
   Farben & Schriften nach Vorgabe (farben_schriften.jpg)
   ============================================================ */

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Farbpalette lt. Vorgabe */
    --blattgruen: #7f9e29;
    --apfelgruen: #afc800;
    --pastellgruen: #e7eec6;
    --beere: #cc3399;
    --beere-30: #f0c2e0;
    --anthrazit: #323232;
    --schiefer: #656565;
    --kies: #8a8a8a;
    --wolke: #ececec;
    --weiss: #ffffff;

    /* Kategorie-Farben */
    --kat-weinheuriger: #7f9e29;
    --kat-mostheuriger: #f9bd34;
    --kat-topheuriger: #99131a;
    --kat-wienertopheuriger: #656565;
    --kat-spielbereich: #85bd94;

    --radius: 4px;
    --max-width: 1200px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--anthrazit);
    background: var(--weiss);
    line-height: 1.5;
}

h1, h2, h3, h4 { font-weight: 600; margin: 0 0 .5em; line-height: 1.25; }
h1 { font-size: 28px; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
a { color: var(--blattgruen); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--blattgruen);
    color: #fff;
    font-size: 13px;
}
.topbar .container {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.topbar a { color: #fff; opacity: .95; margin-left: 24px; }
.topbar a:first-child { margin-left: 0; }
.topbar a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Main header / nav ---------- */
.mainheader {
    background: #fff;
    border-bottom: 1px solid var(--wolke);
}
.mainheader .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-wrap: wrap;
    gap: 12px;
}
.logo img { height: 34px; }
.mainnav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.mainnav a {
    color: var(--anthrazit);
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
}
.mainnav a:hover, .mainnav a.active { color: var(--blattgruen); text-decoration: none; }

/* ---------- Hero / Suche ---------- */
.hero {
    position: relative;
    background: url('../img/header.jpg') center right / cover no-repeat;
    min-height: 340px;
    display: flex;
    align-items: center;
}
.searchbox {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 4px 18px rgba(0,0,0,.18);
    padding: 28px 30px;
    max-width: 460px;
    margin: 40px 0;
}
.searchbox h2 { font-size: 22px; font-weight: 400; margin-bottom: 18px; }
.searchbox .row { display: flex; gap: 12px; margin-bottom: 12px; }
.searchbox .row > div { flex: 1; }
.searchbox label { display: block; font-size: 12px; color: var(--schiefer); margin-bottom: 4px; }
.searchbox input[type=text],
.searchbox input[type=date],
.searchbox select {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    background: #fff;
}
.searchbox .or-divider {
    text-align: center;
    color: var(--kies);
    font-size: 13px;
    margin: 10px 0;
    position: relative;
}
.btn {
    display: inline-block;
    border: none;
    border-radius: var(--radius);
    padding: 10px 22px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
}
.btn-primary { background: var(--beere); color: #fff; }
.btn-primary:hover { background: #b02c86; text-decoration: none; }
.btn-secondary { background: var(--blattgruen); color: #fff; }
.btn-secondary:hover { background: #6d8622; text-decoration: none; }
.btn-outline { background: #fff; color: var(--blattgruen); border: 1px solid var(--blattgruen); }
.btn-block { width: 100%; }

/* ---------- Ergebnisliste ---------- */
.results-section { padding: 36px 0; }
.results-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
.results-header h2 { font-weight: 400; font-size: 22px; }
.results-header h2 em { font-style: normal; color: var(--schiefer); font-size: 16px; }

.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    color: var(--schiefer);
    cursor: pointer;
}
.pill img { height: 14px; }
.pill.active { background: var(--pastellgruen); border-color: var(--blattgruen); color: var(--blattgruen); }

table.results {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
table.results th {
    text-align: left;
    border-bottom: 2px solid var(--anthrazit);
    padding: 10px 8px;
    font-weight: 600;
}
table.results th a { color: var(--anthrazit); }
table.results td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--wolke);
    vertical-align: middle;
}
table.results tr.vip { background: var(--beere-30); }
table.results tr:hover { background: var(--pastellgruen); }
table.results .betrieb-name { font-weight: 600; }
table.results .betrieb-name a { color: var(--anthrazit); }
table.results .krone { color: var(--beere); margin-right: 4px; }
/* Kategorie-Symbole: nebeneinander, gleich groß (SVG, daher auch auf Retina scharf) */
table.results .icons { white-space: nowrap; }
table.results .icons .kat-icons { display: inline-flex; align-items: center; gap: 6px; }
table.results .icons img { display: inline-block; width: 26px; height: 26px; }
.pill img, .badge img, .checkbox-grid label img { display: inline-block; width: 16px; height: 16px; }
table.results .termin { color: var(--blattgruen); font-style: italic; font-size: 13px; }
table.results .termin.abgelaufen { color: var(--kies); }

.keine-treffer { padding: 40px 0; text-align: center; color: var(--schiefer); }

/* ---------- VIP-Werbeblock ---------- */
.vip-promo { background: var(--wolke); padding: 50px 0; }
.vip-promo .flex { display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
.vip-promo .text { flex: 1; min-width: 280px; }
.vip-promo h2 { color: var(--beere); font-size: 24px; }
.vip-promo ul { list-style: none; padding: 0; margin: 18px 0; }
.vip-promo li { margin-bottom: 14px; padding-left: 26px; position: relative; }
.vip-promo li::before {
    content: '✓';
    color: var(--beere);
    font-weight: 700;
    position: absolute;
    left: 0;
}
.vip-promo li strong { display: block; }
.vip-promo li span { color: var(--schiefer); font-size: 13px; }
.vip-promo .image { flex: 1; min-width: 280px; text-align: center; }
.vip-promo .price { margin-top: 16px; font-weight: 600; }
.vip-promo .price b { color: var(--beere); font-size: 26px; }

/* ---------- Karten-Grids (VIP Heurigen, Partner) ---------- */
.section { padding: 44px 0; }
.section h2 { text-align: center; font-weight: 400; font-size: 22px; margin-bottom: 28px; }
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.card { }
.card img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; margin-bottom: 10px; }
.card h3 { font-size: 15px; margin-bottom: 2px; }
.card p { font-size: 13px; color: var(--schiefer); margin: 0 0 6px; }
.card .underline { border-top: 2px solid var(--blattgruen); width: 40px; }

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 28px;
    align-items: center;
    justify-items: center;
}
.partner-grid img { max-height: 50px; width: auto; filter: grayscale(20%); }
.partner-grid .partner-name { font-size: 12px; color: var(--schiefer); text-align: center; margin-top: 6px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--anthrazit); color: #fff; padding: 40px 0 0; }
footer.site-footer .flex { display: flex; gap: 40px; flex-wrap: wrap; padding-bottom: 30px; }
footer.site-footer .col { flex: 1; min-width: 240px; }
footer.site-footer .logo img { height: 30px; margin-bottom: 12px; }
footer.site-footer a { color: #ddd; }
footer.site-footer .social-box {
    border: 1px dashed #666;
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    color: #ccc;
}
footer.site-footer .legal {
    border-top: 1px solid #4a4a4a;
    padding: 16px 0;
    font-size: 12px;
    text-align: center;
    color: #999;
}
footer.site-footer .legal a { color: #ccc; }

/* ---------- Detailseite (Betriebsprofil) ---------- */
.profile-hero {
    background: var(--pastellgruen);
    padding: 30px 0;
}
.profile-hero h1 { margin-bottom: 4px; font-size: 30px; }
.profile-hero .sub { color: var(--schiefer); font-size: 15px; }
.profile-layout { display: flex; gap: 40px; padding-top: 36px; padding-bottom: 36px; flex-wrap: wrap; }
.profile-main { flex: 2; min-width: 300px; }
.profile-side { flex: 1; min-width: 260px; }
.profile-main img.foto { border-radius: var(--radius); margin-bottom: 20px; width: 100%; object-fit: cover; max-height: 360px; }
.badge-list { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    border: 1px solid #ccc; border-radius: 20px; padding: 4px 12px; font-size: 13px;
}
.badge img { height: 16px; }
.confirm-note {
    background: var(--pastellgruen);
    border-left: 3px solid var(--blattgruen);
    padding: 10px 14px;
    font-size: 13px;
    margin: 16px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.infobox {
    background: #fafafa;
    border: 1px solid var(--wolke);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}
.infobox h3 { font-size: 15px; margin-bottom: 10px; }
.infobox p { margin: 4px 0; font-size: 14px; }
.termin-list { list-style: none; padding: 0; margin: 0; }
.termin-list li { padding: 6px 0; border-bottom: 1px solid var(--wolke); font-size: 14px; }
.termin-list li:last-child { border-bottom: none; }

/* ---------- Formulare (Eintragen) ---------- */
.form-page { padding-top: 40px; padding-bottom: 70px; max-width: 720px; margin: 0 auto; }
.form-page h1 { margin-bottom: 6px; }
.form-page .lead { color: var(--schiefer); margin-bottom: 30px; }
fieldset { border: 1px solid var(--wolke); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; }
legend { font-weight: 600; padding: 0 8px; color: var(--blattgruen); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.field .hint { font-size: 12px; color: var(--kies); margin-top: 4px; }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field input[type=url],
.field input[type=date],
.field select,
.field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
}
.field textarea { min-height: 120px; resize: vertical; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 10px; }
.checkbox-grid label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.checkbox-grid label input { margin-right: 6px; }
.checkbox-grid label img { margin-right: 4px; }
.form-msg { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; font-size: 14px; }
.form-msg.success { background: var(--pastellgruen); color: var(--blattgruen); border: 1px solid var(--blattgruen); }
.form-msg.error { background: #fbe4ee; color: var(--beere); border: 1px solid var(--beere); }

/* ---------- Statische Seiten ---------- */
.page-header { background: var(--pastellgruen); padding: 34px 0; margin-bottom: 30px; }
.page-header h1 { margin: 0; }
.static-content { padding-bottom: 60px; }

/* ============================================================
   Ergänzungen Suche/SEO (2026-09-18)
   ============================================================ */

/* H1 in der Suchbox – übernimmt die Optik der bisherigen h2 */
.searchbox h1 {
    font-size: 26px;
    margin: 0 0 4px;
    line-height: 1.25;
}
.searchbox .treffer-zeile {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--schiefer, #666);
}

/* "Heute ausg'steckt"-Knopf */
.schnellfilter {
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.btn-heute {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--weinrot, #7a1f2b);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: filter .15s;
}
.btn-heute:hover { filter: brightness(1.12); }
.btn-heute.aktiv { background: #4a1119; }
.btn-zuruecksetzen { font-size: 14px; }

/* VIP-Checkbox */
.vip-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 16px;
    font-size: 15px;
    cursor: pointer;
}

/* "geprüft"-Hinweis in der Ergebnisliste */
.geprueft {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e8f3ea;
    color: #1f6b33;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* Null-Treffer-Hinweis */
.keine-treffer {
    padding: 32px;
    background: #fafafa;
    border-radius: 10px;
    text-align: center;
}
.keine-treffer h3 { margin-top: 0; }

/* Regionsliste */
.regionen .region-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}
.regionen .region-links a { text-decoration: none; }
.regionen .region-links a:hover { text-decoration: underline; }
.regionen .region-links span { color: var(--schiefer, #666); font-size: 13px; }

/* Beschreibungstext auf der Detailseite (jetzt echtes HTML) */
.beschreibung h2 { font-size: 1.3rem; margin: 24px 0 8px; }
.beschreibung h3 { font-size: 1.1rem; margin: 20px 0 6px; }
.beschreibung p  { margin: 0 0 12px; }
.beschreibung ul,
.beschreibung ol { margin: 0 0 12px 20px; }

/* ============================================================
   Mehrplattform (2026-09-19)
   ============================================================ */
.test-umschalter {
    background: #222; color: #bbb; font-size: 12px; text-align: center; padding: 5px 10px;
}
.test-umschalter a { color: #fff; margin: 0 6px; padding: 1px 8px; border-radius: 10px; }
.test-umschalter a.aktiv { background: var(--blattgruen); }
/* SVG-Logos der neuen Plattformen sind breiter als das Heurigen-Wortbild */
.plattform-buschenschank .mainheader .logo img,
.plattform-mostheurigen .mainheader .logo img { height: 56px; width: auto; }
.plattform-buschenschank footer.site-footer .logo img,
.plattform-mostheurigen footer.site-footer .logo img { height: 44px; }
footer.site-footer .schwesterseiten a { color: #ccc; }
.plattform-hinweis { font-size: 13px; color: var(--schiefer); margin-top: 10px; }

/* ============================================================
   Öffnungskalender (2026-09-19)
   ============================================================ */
.kal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.kal-wt { font-size: 12px; font-weight: 600; color: var(--schiefer); text-align: center; padding: 4px 0; }
.kal-tag {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1; min-height: 30px; border-radius: 6px;
    background: var(--wolke); color: var(--schiefer); font-size: 14px;
}
.kal-tag.offen { background: var(--blattgruen); color: #fff; font-weight: 600; }
.kal-tag.vorbei { opacity: .35; }
.kal-tag.heute { outline: 2px solid var(--beere); outline-offset: 1px; }

/* Anzeige auf der Detailseite */
.kal-anzeige { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 8px; }
.kal-titel { font-weight: 600; margin-bottom: 6px; }
.kal-anzeige .kal-tag { min-height: 0; font-size: 12px; border-radius: 4px; }
.kal-muster { margin: 4px 0 10px; font-weight: 600; color: var(--blattgruen); }
.kal-legende { font-size: 12px; color: var(--schiefer); margin-top: 8px; }
.kal-legende span { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin: 0 4px 0 8px; }

/* Editor */
.kal-editor { user-select: none; -webkit-user-select: none; }
.kal-schnell { background: var(--pastellgruen); border-radius: 6px; padding: 14px 16px; margin-bottom: 16px; }
.kal-schnell-titel { font-weight: 600; margin-bottom: 10px; }
.kal-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kal-chip {
    border: 1px solid var(--blattgruen); background: #fff; color: var(--blattgruen);
    border-radius: 999px; padding: 6px 12px; font: inherit; font-weight: 600; cursor: pointer; min-width: 46px;
}
.kal-chip.an { background: var(--blattgruen); color: #fff; }
.kal-vorlagen { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-left: 10px; }
.kal-link { background: none; border: 0; padding: 2px 0; color: var(--blattgruen); text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; }
.kal-zeitraum { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.kal-zeitraum select { padding: 6px 8px; font: inherit; }
.kal-los { padding: 7px 16px; }
.kal-tipp { font-size: 12px; color: var(--schiefer); margin: 8px 0 0; }

.kal-reiter { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.kal-reiter-btn {
    display: flex; flex-direction: column; align-items: center; min-width: 60px;
    border: 1px solid var(--wolke); background: #fff; border-radius: 6px; padding: 4px 6px; cursor: pointer; font: inherit;
}
.kal-reiter-name { font-size: 13px; font-weight: 600; }
.kal-reiter-zahl { font-size: 11px; color: var(--kies); }
.kal-reiter-btn.belegt .kal-reiter-zahl { color: var(--blattgruen); font-weight: 600; }
.kal-reiter-btn.aktiv { border-color: var(--blattgruen); background: var(--pastellgruen); }

.kal-blatt { max-width: 460px; }
.kal-blatt-kopf { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.kal-blatt-titel { font-size: 18px; min-width: 150px; text-align: center; }
.kal-blatt-zahl { margin-left: auto; font-size: 13px; color: var(--schiefer); }
.kal-pfeil { border: 1px solid var(--wolke); background: #fff; border-radius: 6px; width: 34px; height: 34px; font-size: 20px; cursor: pointer; }
.kal-pfeil:disabled { opacity: .3; cursor: default; }
.kal-wt-btn { background: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; border-radius: 4px; }
.kal-wt-btn:hover { background: var(--pastellgruen); color: var(--blattgruen); }
.kal-grid-edit .kal-tag { border: 0; font: inherit; cursor: pointer; touch-action: none; min-height: 40px; }
.kal-grid-edit .kal-tag:hover:not(:disabled) { filter: brightness(.94); }
.kal-grid-edit .kal-tag:disabled { cursor: default; }
.kal-aktionen { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }
.termin-status.laeuft strong { color: var(--blattgruen); }
.termin-status { margin: 0 0 4px; }

/* ============================================================
   Responsive – Handy und kleine Tablets (2026-09-19)
   Steht bewusst ganz am Ende, damit es alle Regeln oben überschreibt.
   ============================================================ */
@media (max-width: 780px) {

    /* ---- Grundlagen ---- */
    .container { padding: 0 16px; }
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 16px; }

    /* ---- Kopfbereich ---- */
    .test-umschalter { font-size: 11px; }
    .topbar .container { justify-content: center; gap: 20px; }
    .topbar a { margin-left: 0; }
    .mainheader .container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .logo img { height: 30px; }
    .mainnav ul { justify-content: center; gap: 4px 18px; }
    .mainnav a { font-size: 14px; }

    /* ---- Suchbox ---- */
    .hero { min-height: 0; padding: 14px 0; background-position: center; }
    .searchbox { margin: 0; padding: 18px 16px; max-width: 100%; }
    .searchbox h1 { font-size: 21px; margin-bottom: 2px; }
    .searchbox .treffer-zeile { font-size: 13px; margin-bottom: 12px; }
    .schnellfilter { margin-bottom: 14px; }
    .btn-heute { padding: 10px 18px; font-size: 15px; }
    .searchbox label { font-size: 12px; }
    /* 16px verhindert das automatische Hineinzoomen auf iPhones beim Antippen */
    .searchbox input[type=text],
    .searchbox input[type=date],
    .searchbox select { font-size: 16px; padding: 10px; }
    .vip-check { font-size: 14px; }

    /* ---- Ergebnisliste als Karten ---- */
    .results-section { padding: 22px 0; }
    .results-header h2 { font-size: 20px; }
    .results-header h2 em { font-size: 14px; }
    .filter-pills { gap: 6px; margin-bottom: 14px; }
    .pill { font-size: 12px; padding: 4px 10px; }

    table.results,
    table.results tbody { display: block; width: 100%; }
    table.results thead { display: none; }
    table.results tr {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "name   name name"
            "ort    bl   icons"
            "termin termin termin";
        align-items: center;
        column-gap: 8px;
        row-gap: 3px;
        padding: 10px 12px;
        margin-bottom: 6px;
        border: 1px solid var(--wolke);
        border-radius: var(--radius);
    }
    table.results tr.vip { border-color: var(--beere-30); }
    table.results td { display: block; border: 0; padding: 0; }
    table.results td.betrieb-name { grid-area: name; font-size: 15px; line-height: 1.3; }
    table.results td:nth-child(2) { grid-area: bl; font-size: 12px; color: var(--kies); }
    table.results td:nth-child(3) { grid-area: ort; font-size: 13px; color: var(--schiefer); }
    table.results td.icons { grid-area: icons; display: flex; gap: 5px; justify-self: end; }
    table.results td.icons img { width: 20px; height: 20px; }
    table.results td.termin { grid-area: termin; font-size: 12px; }
    .geprueft { font-size: 11px; padding: 1px 7px; margin-left: 6px; }
    .keine-treffer { padding: 22px 16px; }

    /* ---- Regionen, VIP-Block, Karten, Partner ---- */
    .regionen .region-links { gap: 6px 14px; font-size: 14px; }
    .vip-promo { padding: 28px 0; }
    .vip-promo .flex { gap: 24px; }
    .vip-promo h2 { font-size: 20px; }
    .vip-promo li { margin-bottom: 10px; }
    .vip-promo .price b { font-size: 22px; }
    .section { padding: 26px 0; }
    .section h2 { font-size: 20px; margin-bottom: 16px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .card h3 { font-size: 14px; }
    .partner-grid { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
    .partner-grid img { max-height: 36px; }
    .partner-grid .partner-name { font-size: 11px; }

    /* ---- Detailseite ---- */
    .profile-hero { padding: 18px 0; }
    .profile-hero h1 { font-size: 23px; }
    .profile-hero .sub { font-size: 14px; }
    .profile-layout { flex-direction: column; gap: 18px; padding-top: 18px; padding-bottom: 24px; }
    .profile-main img.foto { max-height: 240px; margin-bottom: 14px; }
    .badge { font-size: 12px; padding: 3px 10px; }
    .confirm-note { font-size: 12px; }
    .beschreibung h2 { font-size: 18px; }
    .beschreibung h3 { font-size: 16px; }
    .infobox { padding: 14px 16px; }
    .infobox h3 { font-size: 15px; }
    .kal-blatt { max-width: 100%; }

    /* ---- Formulare ---- */
    .form-page { padding-top: 22px; padding-bottom: 40px; }
    .form-page .lead { margin-bottom: 20px; }
    fieldset { padding: 14px; margin-bottom: 16px; }
    .field input[type=text],
    .field input[type=email],
    .field input[type=tel],
    .field input[type=url],
    .field input[type=date],
    .field select,
    .field textarea { font-size: 16px; }
    .checkbox-grid { grid-template-columns: 1fr 1fr; }

    /* ---- Fuß ---- */
    footer.site-footer { padding-top: 26px; }
    footer.site-footer .flex { gap: 20px; padding-bottom: 20px; }
    footer.site-footer .social-box { padding: 18px; }
}

/* Sehr schmale Geräte */
@media (max-width: 380px) {
    .card-grid { grid-template-columns: 1fr; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Partner & Friends / Hotels & Zimmer (2026-09-20)
   Ans ENDE von assets/css/style.css anfügen – VOR dem
   Responsive-Block wäre schöner, geht aber auch dahinter,
   weil die Handy-Regeln hier eigene @media-Blöcke haben.
   ============================================================ */
.branchen-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.branchen-nav .pill span { color: var(--kies); font-weight: 400; }

.pgruppe { margin-bottom: 40px; }
.pgruppe h2 { font-size: 20px; margin-bottom: 14px; padding-bottom: 6px; border-bottom: 2px solid var(--pastellgruen); }

.pcard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.pcard {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--wolke);
    border-radius: var(--radius);
    background: #fff;
    color: var(--anthrazit);
    text-decoration: none;
    transition: box-shadow .15s, border-color .15s;
}
.pcard:hover { text-decoration: none; border-color: var(--blattgruen); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.pcard.vip { background: var(--beere-30); border-color: var(--beere-30); }
.pcard-logo {
    flex: 0 0 84px;
    height: 64px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border-radius: var(--radius);
}
.pcard-logo img { max-width: 84px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.pcard-platzhalter {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--pastellgruen); color: var(--blattgruen);
    font-weight: 700; font-size: 20px;
}
.pcard-text { min-width: 0; }
.pcard-text h3 { font-size: 15px; margin: 0 0 2px; line-height: 1.3; }
.pcard-sub { margin: 0; font-size: 13px; color: var(--schiefer); }
.pcard-ort { margin: 4px 0 0; font-size: 12px; color: var(--kies); }
.pcard-branche { margin: 2px 0 0; font-size: 12px; color: var(--blattgruen); }

.pdetail-logo { max-width: 260px; max-height: 140px; width: auto; height: auto; margin-bottom: 18px; }
.zurueck { margin: 0 0 10px; font-size: 13px; }
.partner-aufruf { background: var(--pastellgruen); padding: 22px 24px; border-radius: var(--radius); }
.partner-aufruf h2 { border: 0; margin-bottom: 6px; }
.partner-aufruf p { margin: 0; }

@media (max-width: 780px) {
    .pcard-grid { grid-template-columns: 1fr; gap: 10px; }
    .pcard { padding: 10px 12px; gap: 12px; }
    .pcard-logo { flex-basis: 64px; height: 50px; }
    .pcard-logo img { max-width: 64px; max-height: 50px; }
    .pgruppe { margin-bottom: 26px; }
    .pgruppe h2 { font-size: 18px; }
    .pdetail-logo { max-width: 200px; max-height: 110px; }
}

/* ============================================================
   Paket 5 – Fotogalerie, Speisekarten, Foto-Verwaltung (20.09.2026)
   ============================================================ */

/* ---------- Galerie auf Detailseiten ---------- */
.galerie { margin-bottom: 20px; }
.galerie button { font: inherit; border: 0; padding: 0; background: none; cursor: zoom-in; }
.galerie-haupt { position: relative; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; }
.galerie-haupt img { width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block; }
.galerie-zahl {
    position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.62); color: #fff;
    font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
}
.galerie-leiste { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.galerie-leiste button { flex: 0 0 auto; width: 92px; height: 66px; border-radius: 3px; overflow: hidden; opacity: .72; outline: 2px solid transparent; outline-offset: -2px; cursor: pointer; }
.galerie-leiste button:hover, .galerie-leiste button.aktiv { opacity: 1; }
.galerie-leiste button.aktiv { outline-color: var(--blattgruen); }
.galerie-leiste img { width: 100%; height: 100%; object-fit: cover; }
.galerie-quelle { font-size: 11px; color: var(--kies); margin: 4px 0 0; }

/* ---------- Großansicht ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgba(15,15,15,.92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 64px 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 2px; }
.lightbox figcaption { color: #eee; font-size: 14px; margin-top: 10px; text-align: center; }
.lightbox .lb-zahl { color: #aaa; margin-left: 8px; }
.lightbox .lb-quelle { color: #bbb; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; font: inherit; border-radius: 999px; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-zu { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 20px; }
.lb-pfeil { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 32px; line-height: 1; }
.lb-zurueck { left: 10px; }
.lb-weiter { right: 10px; }
.lightbox.einzeln .lb-pfeil { display: none; }

/* ---------- Speise-/Weinkarte ---------- */
.karten-box .karten-knopf {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 8px 0;
    border: 1px solid var(--blattgruen); border-radius: var(--radius); color: var(--anthrazit); font-weight: 600; background: #fff;
}
.karten-box .karten-knopf:hover { background: var(--pastellgruen); text-decoration: none; }
.karten-box .karten-knopf small { display: block; font-weight: 400; font-size: 12px; color: var(--kies); }
.karten-symbol { font-size: 22px; }
.karten-hinweis { font-size: 12px !important; color: var(--kies); margin-top: 8px !important; }

/* ---------- Verwaltung: Fotos & Karten ---------- */
.medien-box { position: relative; }
.medien-box.drop { outline: 3px dashed var(--blattgruen); outline-offset: -6px; background: var(--pastellgruen); }
.medien-box.laedt .medien-aktionen .btn { opacity: .5; pointer-events: none; }
.medien-aktionen { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0 4px; }
.medien-aktionen select, .medien-aktionen input[type=text], .medien-aktionen input[type=url] { padding: 8px; font: inherit; border: 1px solid #ccc; border-radius: var(--radius); }
.medien-status { font-size: 13px; color: var(--blattgruen); }
.medien-status.fehler { color: var(--beere); }
.medien-leer { color: var(--kies); font-size: 14px; margin: 0; }
.mb-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.mb-bild { border: 1px solid var(--wolke); border-radius: var(--radius); padding: 8px; background: #fff; cursor: grab; }
.mb-bild.titel { border-color: var(--blattgruen); box-shadow: 0 0 0 1px var(--blattgruen); }
.mb-bild.wartet { border-color: var(--beere); }
.mb-bild.zieht { opacity: .4; }
.mb-vorschau { position: relative; aspect-ratio: 4 / 3; background: var(--wolke); border-radius: 3px; overflow: hidden; }
.mb-vorschau img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.mb-marke { position: absolute; left: 6px; top: 6px; background: var(--blattgruen); color: #fff; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.mb-marke.mb-wartet { background: var(--beere); top: auto; bottom: 6px; }
.mb-knoepfe { display: flex; gap: 4px; margin: 6px 0; }
.mb-knoepfe button, .mk-liste button {
    flex: 1; padding: 5px 0; border: 1px solid var(--wolke); background: #fafafa; border-radius: 3px; cursor: pointer; font-size: 14px; line-height: 1.2;
}
.mb-knoepfe button:hover:not(:disabled), .mk-liste button:hover { background: var(--pastellgruen); }
.mb-knoepfe button:disabled { opacity: .3; cursor: default; }
.mb-knoepfe button[data-aktion="titelbild"] { color: #d49a00; }
.mb-weg { color: var(--beere); }
.mb-bild input { width: 100%; padding: 5px 6px; font-size: 12px; border: 1px solid var(--wolke); border-radius: 3px; margin-top: 4px; font-family: inherit; }
.mb-bild input.gespeichert { border-color: var(--blattgruen); background: var(--pastellgruen); }
.mk-liste { list-style: none; margin: 0; padding: 0; }
.mk-liste li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--wolke); font-size: 14px; }
.mk-liste li a { font-weight: 600; }
.mk-liste li.wartet { background: #fbe4ee; padding-left: 8px; }
.mk-info { font-size: 12px; color: var(--kies); }
.mk-status { font-size: 12px; font-weight: 600; color: var(--beere); margin-left: auto; }
.mk-status.ok { color: var(--blattgruen); }
.mk-liste button { flex: 0 0 auto; padding: 4px 10px; font-size: 12px; }
.mk-liste .btn-mini-ok { background: var(--blattgruen); color: #fff; border-color: var(--blattgruen); }

@media (max-width: 780px) {
    .galerie-haupt img { max-height: 260px; }
    .galerie-leiste button { width: 72px; height: 52px; }
    .lightbox figure { padding: 56px 8px 12px; }
    .lb-pfeil { top: auto; bottom: 14px; transform: none; }
    .lightbox img { max-height: calc(100vh - 150px); }
    .mb-liste { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .medien-aktionen { flex-direction: column; align-items: stretch; }
}

/* ============================================================
   Paket 6 – Schmankerl / Rezepte (20.09.2026)
   ============================================================ */
.medien-link { margin: 10px 0 4px; font-size: 14px; }
.medien-link summary { cursor: pointer; color: var(--blattgruen); font-weight: 600; }
.branchen-nav .pill.aktiv { background: var(--blattgruen); color: #fff; border-color: var(--blattgruen); }
.branchen-nav .pill.aktiv span { color: #fff; opacity: .8; }

.rkarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin: 10px 0 30px; }
.rkarte { display: flex; flex-direction: column; border: 1px solid var(--wolke); border-radius: var(--radius); overflow: hidden; color: var(--anthrazit); background: #fff; transition: box-shadow .15s, border-color .15s; }
.rkarte:hover { text-decoration: none; border-color: var(--blattgruen); box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.rk-bild { aspect-ratio: 3 / 2; background: var(--pastellgruen); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rk-bild img { width: 100%; height: 100%; object-fit: cover; }
.rk-symbol { font-size: 54px; opacity: .85; }
.rk-text { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rk-text h3 { margin: 0; font-size: 18px; }
.rk-text p { margin: 0; font-size: 14px; color: var(--schiefer); line-height: 1.45; }
.rk-kat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--blattgruen); }
.rk-zeit { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--kies); }

.rezept-hero .zurueck { font-size: 13px; margin: 0 0 6px; }
.rezept-fakten { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 14px 0 0; font-size: 14px; align-items: center; }
.rezept-drucken { font: inherit; font-size: 13px; background: #fff; border: 1px solid var(--blattgruen); color: var(--blattgruen); border-radius: 999px; padding: 4px 14px; cursor: pointer; }
.rezept-schritte { counter-reset: schritt; list-style: none; padding: 0; margin: 0 0 24px; }
.rezept-schritte li { counter-increment: schritt; position: relative; padding: 0 0 16px 46px; line-height: 1.6; }
.rezept-schritte li::before {
    content: counter(schritt); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
    background: var(--blattgruen); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.rezept-tipp { background: var(--pastellgruen); border-left: 4px solid var(--blattgruen); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 24px; }
.rezept-zutaten h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--blattgruen); margin: 14px 0 4px; }
.rezept-zutaten ul { margin: 0; padding-left: 18px; }
.rezept-zutaten li { font-size: 14px; padding: 3px 0; }
.rezept-cta p { font-size: 14px; }
.rezept-weitere { padding-bottom: 30px; }

/* Rezept der Woche (Startseite) */
.rezept-woche { background: var(--pastellgruen); padding: 30px 0; }
.rezept-woche .container { display: flex; gap: 28px; align-items: center; }
.rw-bild { flex: 0 0 280px; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.rw-bild img { width: 100%; height: 100%; object-fit: cover; }
.rw-text h2 { margin: 4px 0 6px; }
.rw-text p { color: var(--schiefer); margin: 0 0 14px; }
.rw-alle { margin-left: 14px; font-size: 14px; }

@media (max-width: 780px) {
    .rkarten { grid-template-columns: 1fr; gap: 14px; }
    .rkarte { flex-direction: row; }
    .rk-bild { flex: 0 0 110px; aspect-ratio: auto; }
    .rk-symbol { font-size: 36px; }
    .rk-text { padding: 10px 12px; }
    .rk-text h3 { font-size: 16px; }
    .rk-text p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    /* Handy: Foto, Zutaten, Zubereitung, Getränk, Hinweis – in dieser Reihenfolge */
    .rezept-layout .profile-main, .rezept-layout .profile-side { display: contents; }
    .rz-o-bild { order: 1; } .rz-o-zutaten { order: 2; } .rz-o-schritte { order: 3; }
    .rz-o-dazu { order: 4; } .rz-o-cta { order: 5; }
    .rezept-layout .infobox { margin: 0; }
    .rezept-woche .container { flex-direction: column; align-items: stretch; gap: 14px; }
    .rw-bild { flex-basis: auto; }
}

@media print {
    .topbar, .mainheader, .test-umschalter, footer, .nur-bildschirm, .galerie-leiste, .galerie-zahl, .zurueck { display: none !important; }
    .profile-hero { background: none !important; padding: 0 !important; }
    .profile-layout { display: block !important; padding: 0 !important; }
    .rezept-layout { display: flex !important; flex-direction: column; }
    .rezept-layout .profile-main, .rezept-layout .profile-side { display: contents; }
    .rz-o-bild { order: 1; } .rz-o-zutaten { order: 2; margin-bottom: 14px; } .rz-o-schritte { order: 3; } .rz-o-dazu { order: 4; }
    .galerie-haupt img { max-height: 200px !important; width: auto !important; }
    .infobox { border: 1px solid #ccc !important; background: none !important; break-inside: avoid; }
    .rezept-schritte li::before { background: none !important; color: #000 !important; border: 1px solid #000; }
    a { color: #000 !important; }
}

/* Paket 13 Nachtrag 3: Hero-Container am Handy nicht breiter als der Bildschirm */
.hero .container{box-sizing:border-box;max-width:100%}

/* ============================================================
   Paket 15 (01.10.2026): Handy-Breite
   Ursache fast überall: Grid-Spalten „1fr“ und Fieldsets wachsen mit
   ihrem breitesten Inhalt mit. minmax(0,1fr) bzw. min-width:0 verhindert das.
   ============================================================ */
fieldset { min-width: 0; }
.kal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.kal-editor, .kal-schnell, .kal-anzeige { min-width: 0; max-width: 100%; }
.kal-vorlagen { margin-left: 0; }
.static-content { overflow-wrap: anywhere; }
.static-content table { display: block; max-width: 100%; overflow-x: auto; }

@media (max-width: 900px) {
    body .karte-layout { grid-template-columns: minmax(0, 1fr); }
    body .karte-layout > * { min-width: 0; }
    body .karte-kopf form { min-width: 0; flex: 1 1 100%; max-width: none; }
}

@media (max-width: 380px) {
    .searchbox .row { flex-wrap: wrap; }
    .searchbox .row > div { flex: 1 1 130px; min-width: 0; }
    .searchbox input[type=text],
    .searchbox input[type=date],
    .searchbox select { min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; }
    .schnellfilter { flex-wrap: wrap; }
    .kal-tag { font-size: 12px; }
}
