/* ==========================================================================
   1. Grundkonfiguration & Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4; 
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

/* ==========================================================================
   2. Header-Bereich
   ========================================================================== */
.top-red-bar {
    background-color: #0091cd;
    height: 40px;
    width: 100%;
}

.top-red-bar-admin {
    background-color: #ff0000;
    height: 40px;
    width: 100%;
}

.header-white-bar {
    background-color: #ffffff;
    height: 130px;
    width: 100%;
    padding-top: 40px;
    padding-left: 40px;
}

.header-white-bar img {
    height: 60px;
    display: block;
}

/* ==========================================================================
   3. Haupt-Layout-Box (Garantiert 817px absolute Breite)
   ========================================================================== */
.main-content {
    flex: 1;
    padding: 40px 20px;
}

.project-main-box {
    width: 70%;
    margin: 57px auto 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.intro-container {
    position: relative;
    width: 100%;  
    height: 247px;
    overflow: hidden;
}

.intro-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.intro-heading {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;                 /* immer exakt so hoch wie Container und Bild */
    width: min(195px, 40%);      /* skaliert mit, wird nie breiter als noetig */
    background-color: #0091cd;
    display: flex;
    align-items: center;
    /* Geschwungene rechte Kante per SVG-Maske. preserveAspectRatio='none' und
       mask-size 100% 100% lassen die Rundung mit JEDER Groesse mitskalieren,
       deshalb ist sie auf PC UND Smartphone sichtbar. */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%200%20L100%200%20Q96%2048.6%2082.35%20100%20L0%20100%20Z'%20fill='%23fff'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%200%20L100%200%20Q96%2048.6%2082.35%20100%20L0%20100%20Z'%20fill='%23fff'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
}

.intro-heading-admin {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;                 /* immer exakt so hoch wie Container und Bild */
    width: min(195px, 40%);      /* skaliert mit, wird nie breiter als noetig */
    background-color: #ff0000;
    display: flex;
    align-items: center;
    /* Geschwungene rechte Kante per SVG-Maske. preserveAspectRatio='none' und
       mask-size 100% 100% lassen die Rundung mit JEDER Groesse mitskalieren,
       deshalb ist sie auf PC UND Smartphone sichtbar. */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%200%20L100%200%20Q96%2048.6%2082.35%20100%20L0%20100%20Z'%20fill='%23fff'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20100%20100'%20preserveAspectRatio='none'%3E%3Cpath%20d='M0%200%20L100%200%20Q96%2048.6%2082.35%20100%20L0%20100%20Z'%20fill='%23fff'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
}

.intro-heading h2 {
    color: #ffffff;
    font-weight: bold;
    margin: 0;
    padding-left: clamp(16px, 10%, 30px);
    max-width: 74%;              /* Text bleibt links der Rundung, ragt nie ins Bild */
    font-size: clamp(17px, 4.6vw, 24px);
    line-height: 1.18;
}

.intro-heading-admin h2 {
    color: #ffffff;
    font-weight: bold;
    margin: 0;
    padding-left: clamp(16px, 10%, 30px);
    max-width: 74%;              /* Text bleibt links der Rundung, ragt nie ins Bild */
    font-size: clamp(17px, 4.6vw, 24px);
    line-height: 1.18;
}

/* ==========================================================================
   4. Formular-Bereich (Mittelgrau) via CSS-Grid
   ========================================================================== */
.search-container {
    width: 100%; 
    height: auto; 
    background-color: #ebebec;
    padding: 38px 30px; /* 30px Abstand links und rechts */
}

.search-instruction {
    color: #0091cd;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 15px;
}

.search-instruction-nextline {
    color: #0091cd;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    margin-top: -15px;
    margin-bottom: 15px;
}

.search-instruction-inside {
    color: #4D4D4D;
    font-size: 14px;
    line-height: 1.0;
    margin-bottom: -30px;
}

.search-instruction-red {
    color: #ff0000;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 15px;
}

.search-instruction-info {
	color: #7F7F7F;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 15px;
    margin-top: -15px;
}

.text-black {
    color: #000000 !important;
}

/* Das CSS-Grid löst die Abstands- und Höhenprobleme vollständig auf */
.search-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 247px; /* Input flexibel | Button feste Breite */
    column-gap: 20px;
    align-items: start;
    width: 100%;
}

.input-wrapper {
    position: relative;
    width: 100%; 
    height: 49px; /* Exakt 1,3 cm hoch */
}

.input-wrapper input {
    width: 100%;
    height: 49px; /* Exakt 1,3 cm hoch */
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px; 
    padding: 0 12px;
    font-size: 16px;
    color: #000000;
    outline: none;
}

.input-wrapper label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #959698;
    font-size: 16px;
    transition: all 0.2s ease;
    pointer-events: none;
}

.input-wrapper input:focus ~ label,
.input-wrapper input:not(:placeholder-shown) ~ label {
    top: 6px;
    transform: translateY(0);
    font-size: 11px; 
    color: #000000;  
}

.inline-error {
    color: #ff0000;
    font-size: 11px; 
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0px;
}

.submit-btn {
    width: 100%; /* Füllt die zugewiesene 247px-Gridspalte komplett aus */
    height: 49px; /* Exakt 1,3 cm hoch - absolut deckungsgleich zum Input */
    background-color: #e9875b;
    color: #ffffff;
    border: none;
    border-radius: 6px; 
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    line-height: 49px;
}

.submit-btn:hover {
    background-color: #d8764a;
}

/* Ergebnis-Fehlerbox: liegt im search-container, gleiche Breite wie die search-form-row */
.result-box-error {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    min-height: 49px;
    margin-top: 20px;
    padding: 10px 15px;
    background-color: #f3cccd;
    border-left: 5px solid #ff0000;
    border-radius: 6px;
    color: #ff0000;
    font-size: 14px;
    font-weight: bold;
}

.warning-icon { font-size: 20px; flex-shrink: 0; }
.warning-icon-text {height: 3em; width: auto; vertical-align: middle; margin: 0 4px;}

/* ==========================================================================
   5. Auswahlelemente & Dropdown
   ========================================================================== */
.reason-list { list-style: none; margin-bottom: 25px; }
.reason-list li { font-size: 15px; margin-bottom: 6px; padding-left: 25px; position: relative; color: #333333; }
.reason-false::before { content: "✕"; position: absolute; left: 0; color: #ff0000; font-weight: bold; }
.reason-true::before { content: "\2714"; position: absolute; left: 0; color: #008000; font-weight: bold; }
.fee-text { font-size: 16px; margin-bottom: 25px; color: #0091cd; }
.price-tag { font-weight: bold; color: #ff0000; }

.custom-dropdown {
    width: 100%; /* Nutzt die 475px Spalte im Grid */
    position: relative;
}

.dropdown-trigger {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    height: 49px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #000000;
}

.vendor-logo { height: 24px; vertical-align: middle; margin-right: 10px; }
.edit-icon { color: #555555; font-size: 18px; font-weight: bold; display: flex; align-items: center; }
.edit-img { height: 20px; width: 20px; display: block; }

.dropdown-options {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    z-index: 10;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.dropdown-options.open { display: block; }
.option-item { padding: 12px 15px; cursor: pointer; display: flex; align-items: center; font-size: 15px; color: #000000; }
.option-item:hover { background-color: #f0f0f0; }

.spinner-hidden { display: none; }
.spinner-visible { display: flex; flex-direction: column; align-items: center; margin: 20px 0; grid-column: span 2; }
.loading-spinner { width: 40px; height: 40px; border: 4px solid #ccc; border-top: 4px solid #e9875b; border-radius: 50%; animation: spin 2s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.error-hidden { display: none; }
.error-visible { background-color: #f3cccd; color: #ff0000; padding: 15px; border-radius: 6px; font-size: 14px; font-weight: bold; margin: 15px 0; border-left: 5px solid #ff0000; grid-column: span 2; }

.confirmation-address {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    line-height: 1.4;
    margin-bottom: 25px;
}

.confirmation-btn {
    display: inline-block;
    width: auto;
    padding: 0 25px;
    text-decoration: none;
}

/* ==========================================================================
   6. Footer-Bereich
   ========================================================================== */
.footer-black-bar {
    background-color: #000000;
    color: #ffffff;
    height: 130px;
    width: 100%;
    padding-top: 40px;
    padding-left: 20px; 
    text-align: left; 
}

.copyright { margin-bottom: 10px; font-size: 14px; }
.footer-links a { color: #ffffff; text-decoration: none; margin-right: 10px; font-size: 14px; }
.footer-links a:hover { text-decoration: underline; }

/* ==========================================================================
   8. NEU: Füll-Spinner, Kundendaten-Formular, Länderauswahl
   (Diese Regeln stehen bewusst NACH Abschnitt 5, damit sie dessen
    Spinner-Darstellung überschreiben.)
   ========================================================================== */

/* --- Füll-Spinner: hellblauer Kreisring, füllt sich immer wieder im Uhrzeigersinn */
.spinner-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    grid-column: auto; /* setzt die Grid-Regel aus Abschnitt 5 zurück */
}

.fill-ring-track {
    fill: none;
    stroke: #e6e6e6;   /* graue Hintergrundspur */
    stroke-width: 6;
}

.fill-ring-progress {
    fill: none;
    stroke: #7ec8e3;   /* hellblau */
    stroke-width: 6;
    stroke-linecap: round;
    /* Umfang = 2 * PI * r = 2 * 3.14159 * 20 ≈ 125.66 */
    stroke-dasharray: 125.66;
    stroke-dashoffset: 125.66;          /* Start: leer */
    transform: rotate(-90deg);          /* Start oben ... */
    transform-origin: 50% 50%;          /* ... und im Uhrzeigersinn füllen */
    /* 8 Sekunden pro Füllung, endlos wiederholt:
       in 20 Sekunden Anzeigezeit füllt sich der Ring also etwa 2,5-mal */
    animation: ring-fill 8s linear infinite;
}

@keyframes ring-fill {
    to { stroke-dashoffset: 0; }        /* Ende: voll gefüllt */
}

#spinner-text { margin-top: 12px; color: #333333; font-size: 14px; }

/* --- Kundendaten-Formular (Schritt 4) ------------------------------------- */
.data-form { width: 100%; }

.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
    margin-bottom: 25px;
}

.data-grid .full { grid-column: 1 / -1; }

.data-field { position: relative; }
.data-field-s { width: 40%; position: relative; margin-top: 0; }

/* Im Datenformular soll der Fehler UNTER dem Feld stehen (nicht überlappen) */
.data-field .inline-error {
    position: static;
    display: block;
    margin-top: 6px;
}

/* --- Länderauswahl (scrollbares Menü) mit gleichem Look wie die Inputs ---- */
.select-wrapper {
    position: relative;
    width: 100%;
    height: 49px;
}

.select-wrapper label {
    position: absolute;
    left: 12px;
    top: 6px;
    font-size: 11px;
    color: #000000;
    pointer-events: none;
}

.select-wrapper select {
    width: 100%;
    height: 49px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 18px 12px 0 12px;   /* oben Platz für das kleine Label */
    font-size: 15px;
    color: #000000;
    outline: none;
    cursor: pointer;
}

/* ==========================================================================
   9. NEU: Verarbeitungs-Spinner, Gutschein-Bereich
   (Größe und Schärfegrad nutzen die .select-wrapper-Regeln aus Abschnitt 8)
   ========================================================================== */

/* --- Verarbeitungs-Spinner (Schritt 7) ------------------------------------ */
.proc-hidden { display: none; }
.proc-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
}
.proc-text { margin-top: 12px; color: #333333; font-size: 14px; }
.proc-text-2 { margin-top: 12px; color: #333333; font-size: 14px; text-align: center}
.proc-text-small { margin-top: 12px; color: #333333; font-size: 12px; }

.sec-warning-red {margin-bottom: 12px; color: #ff0000; font-size: 14px; text-align: center}
.sec-warning-orange {margin-bottom: 12px; color: #ff7500; font-size: 14px; text-align: center}

/* --- Gutschein-Bereich: vor dem Einblenden verborgen ---------------------- */
.voucher-hidden { display: none; }

/* ==========================================================================
   10. NEU: Pizza-Dropdown (Schritt 4) & Zuschlag-Hinweis (Schritt 3)
   ========================================================================== */

/* Variante des Dropdowns, bei der die Liste IM Seitenfluss aufklappt:
   Sie schiebt Spinner und Button nach unten, statt über dem Inhalt zu
   schweben. Vorher wurde die schwebende Liste von der .project-main-box
   (overflow: hidden) abgeschnitten, deshalb fehlten die unteren Sorten.
   Ohne Höhenbegrenzung sind jetzt alle Sorten ohne Scrollen sichtbar. */
.dropdown-options.dropdown-inline {
    position: static;
    margin-top: 6px;
    max-height: none;
    overflow: visible;
}

/* Zuschlag-Hinweis (Schritt 3): Liste etwas vom roten Text absetzen */
.reason-list { margin-top: 5px; }

/* ==========================================================================
   11. NEU: Gutschein-Ergebnis auf der Bestätigungsseite (Schritt 8)
   ========================================================================== */
.voucher-result {
    padding: 12px 15px;
    margin-bottom: 25px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.4;
}

/* akzeptiert: grüner Rand, gleiche Bauart wie die rote Fehlerbox */
.voucher-ok      { background-color: #dff0d8; border-left: 5px solid #008000; color: #1e5c1e; }
/* ungültig: rote Variante */
.voucher-invalid { background-color: #f3cccd; border-left: 5px solid #ff0000; color: #cc0000; }

#voucher-wait #spinner-text { text-align: center; line-height: 1.5; }

/* ==========================================================================
   12. NEU: Mitarbeiter-Ansicht "Gutscheine prüfen" (mitarbeiter.php)
   ========================================================================== */
/* Hinweistext links, "Abmelden" rechts in einer Zeile */
.staff-topbar {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}
.staff-logout {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: bold;
    color: #e9875b;
    text-decoration: none;
}
.staff-logout:hover { text-decoration: underline; }

.staff-live-info { font-size: 13px; color: #333333; margin-bottom: 15px; }
.staff-live-info::before {                     /* kleiner grüner "Live"-Punkt */
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: #008000;
    vertical-align: middle;
}
.staff-live-error { color: #cc0000; }
.staff-live-error::before { background-color: #ff0000; }

/* --- Bestellungen als Karten ------------------------------------------------ */
.order-list { display: flex; flex-direction: column; gap: 15px; }

.order-card {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-left: 5px solid #cccccc;          /* Farbstreifen zeigt den Stand */
    border-radius: 6px;
    overflow: hidden;
}
.order-card.status-progress { border-left-color: #7ec8e3; }   /* hellblau: in Arbeit */
.order-card.status-check    { border-left-color: #e9875b; background-color: #fff6db; } /* gelb: prüfen */
.order-card.status-done     { border-left-color: #008000; }   /* grün: fertig */
.order-card.status-done-neg     { border-left-color: #FF0000; }   /* rot: abgelehnt */

.order-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 15px;
    padding: 10px 15px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 14px;
}
.order-nr   { font-weight: bold; color: #000000; }
.order-time { color: #555555; }
.order-status {
    margin-left: auto;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    background-color: #959698;
}
.status-progress .order-status { background-color: #3a8fb0; }
.status-check    .order-status { background-color: #e9875b; }
.status-done     .order-status { background-color: #008000; }
.status-done-neg     .order-status { background-color: #FF0000; }

/* Drei Abschnitte nebeneinander: Kunde | Pizza & Extras | Gutschein */
.order-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px 20px;
    padding: 12px 15px 15px 15px;
}
.order-part { font-size: 11px; line-height: 1.45; color: #000000; min-width: 0; }
.order-part-title {
    font-size: 11px;
    font-weight: bold;
    color: #959698;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.order-name { font-weight: bold; }
.order-wait { color: #959698; font-style: italic; }
.order-code { font-size: 16px; color: red; font-weight: bold; margin-bottom: 8px; word-break: break-all; }

/* Bezeichnung links, Wert rechts */
.order-dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; }
.order-dl dt { color: #555555; }
.order-dl dd { margin: 0; overflow-wrap: anywhere; }

.staff-empty { text-align: center; color: #959698; padding: 20px; }

.staff-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.staff-btn {
    height: 32px;
    padding: 0 12px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
}
.staff-btn:disabled { opacity: 0.5; cursor: default; }
.staff-btn-ok    { background-color: #008000; }
.staff-btn-ok:hover    { background-color: #006400; }
.staff-btn-no    { background-color: #ff0000; }
.staff-btn-no:hover    { background-color: #cc0000; }
.staff-btn-reset { background-color: transparent; color: #555555; text-decoration: underline; padding: 0 4px; }

.badge { font-size: 13px; font-weight: bold; }
.badge-ok { color: #008000; }
.badge-no { color: #cc0000; }

/* ==========================================================================
   Zusaetzliche Stile fuer die Unterseiten (Impressum, AGB, Datenschutz, ...)
   Wird in teil_subpage_head.php zusaetzlich zu style.css eingebunden.
   ========================================================================== */

.subpage-box {
    width: 88%;
    max-width: 760px;
    margin: 30px auto 0 auto;
}

/* --- Brotkrumen-Navigation ------------------------------------------------- */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 18px;
}
.crumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0091cd;
    text-decoration: none;
    font-weight: bold;
}
.crumb:hover { text-decoration: underline; }
.crumb-home-icon { width: 16px; height: 16px; fill: #0091cd; }
.crumb-sep { color: #999999; }
.crumb-current { color: #555555; font-weight: normal; } /* aktuelle Seite dezent */

/* --- Grosser roter Seitentitel -------------------------------------------- */
.subpage-title {
    color: #0091cd;
    font-size: clamp(20px, 4vw, 30px);
    font-weight: bold;
    line-height: 1.15;
    margin: 0 0 20px 0;
}

/* --- Fliesstext ------------------------------------------------------------ */
.subpage-content { color: #000000; font-size: 16px; line-height: 1.6; }
.subpage-content p  { margin-bottom: 16px; }
.subpage-content h2 { font-size: 20px; margin: 24px 0 10px 0; color: #000000; }
.subpage-note { font-style: italic; color: #777777; font-size: 14px; margin-bottom: 20px; }

/* --- Smartphone ------------------------------------------------------------ */
@media screen and (max-width: 640px) {
    .subpage-box { width: 100%; padding: 0 12px; margin-top: 15px; }
    .subpage-content { font-size: 15px; }
    .subpage-content h2 { font-size: 18px; }
}


/* ==========================================================================
   7. Mobile Optimierung (Smartphones)
   ========================================================================== */

@media screen and (max-width: 860px) {
    .project-main-box { width: 92%; max-width: 100%; margin: 25px auto 0 auto; }
}

@media screen and (max-width: 640px) {
    .header-white-bar { height: 100px; padding-top: 25px; padding-left: 20px; }
    .header-white-bar img { height: 44px; }

    .main-content { padding: 20px 12px; }
    .project-main-box { width: 100%; border-radius: 0; margin-top: 15px; }

    .intro-container { height: 190px; }
    /* Intro-Rundung & -Schrift: siehe responsive Basis in Abschnitt 3 */
    

    .search-container { padding: 25px 16px; }
    .search-instruction { font-size: 14px; }

    .search-form-row {
        grid-template-columns: 1fr;
        row-gap: 12px;
        column-gap: 0;
    }
    .input-wrapper { height: 46px; }
    .input-wrapper input { height: 46px; font-size: 15px; }
    .submit-btn { height: 46px; line-height: 46px; font-size: 14px; }

    .result-box-error { flex-direction: row; font-size: 13px; padding: 10px 12px; }

    .reason-list li { font-size: 14px; }
    .fee-text { font-size: 15px; }

    .dropdown-trigger { height: 46px; font-size: 15px; }
    .option-item { font-size: 14px; padding: 10px 12px; }

    /* Kundendaten-Formular auf dem Smartphone einspaltig */
    .data-grid { grid-template-columns: 1fr; gap: 22px; }

    .order-body { grid-template-columns: 1fr; }   /* Abschnitte untereinander */
    .order-status { margin-left: 0; }

    .footer-black-bar { height: auto; padding: 25px 12px; }
    .footer-links a { display: inline-block; margin: 4px 8px; font-size: 13px; }
}

@media screen and (max-width: 400px) {
    .intro-container { height: 160px; }
    .search-instruction { font-size: 13px; }
}
