/* ════════════════════════════════════════════════════════════════
   ZUM DONAUWIRT — Einheitliches Design-System (Brand Tokens)
   Diese Variablen sind in ALLEN Plugins identisch.
   Marke: Donau-Türkis #00718d · Schrift: Georgia (Titel) / Lato (Text)
   ════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

:root {
  /* — Markenfarbe (nur Türkis-Familie) — */
  --dw-primary:      #00718d;   /* Hauptfarbe */
  --dw-primary-d:    #005a70;   /* dunkler (Hover) */
  --dw-primary-dd:   #00424f;   /* am dunkelsten */
  --dw-primary-tint: #e6f4f7;   /* helle Fläche */
  --dw-primary-tint2:#f5fbfc;   /* hellster Hintergrund */
  --dw-ink:          #0e2f38;   /* Titelfarbe (dunkles Türkis) */
  --dw-text:         #2d4a52;   /* Fließtext */
  --dw-muted:        #6b8a94;   /* Sekundärtext */
  --dw-border:       #c8dde2;   /* Rahmen */
  --dw-border-soft:  #e1eef1;   /* feine Trennlinien */
  --dw-white:        #ffffff;
  /* — Statusfarben (nur für Erfolg/Fehler) — */
  --dw-success:      #1f7a53;
  --dw-success-bg:   #e6f7ef;
  --dw-success-bd:   #a3d9bc;
  --dw-error:        #c0392b;
  --dw-error-bg:     #fdf1f0;
  --dw-error-bd:     #f0c0c0;
  /* — Typografie — */
  --dw-font-head: Georgia, 'Times New Roman', serif;
  --dw-font-body: 'Lato', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  /* — Form — */
  --dw-radius:      10px;
  --dw-radius-sm:   8px;
  --dw-radius-pill: 24px;
  --dw-shadow:      0 6px 28px rgba(0,113,141,.12);
  --dw-shadow-sm:   0 2px 12px rgba(0,113,141,.10);
}

/* ═══════════════════════════════════════════
   Donauwirt Reservierung – Public Styles
   ═══════════════════════════════════════════ */

.dnwirt-wrapper {
    max-width: 680px;
    margin: 36px auto;
    padding: 0 16px;
    font-family: var(--dw-font-body);
    color: var(--dw-text);
    line-height: 1.6;
}

.dnwirt-hinweis {
    background: var(--dw-primary-tint);
    border-left: 4px solid var(--dw-primary);
    border-radius: var(--dw-radius-sm);
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: var(--dw-primary-d);
}

.dnwirt-box {
    background: var(--dw-white);
    border-radius: var(--dw-radius);
    box-shadow: var(--dw-shadow);
    border: 1px solid var(--dw-border);
    overflow: hidden;
}

.dnwirt-section-head {
    background: var(--dw-primary);
    color: #fff;
    padding: 13px 22px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-family: var(--dw-font-body);
}

.dnwirt-section-body {
    padding: 22px 22px 24px;
    border-bottom: 1px solid var(--dw-border);
}
.dnwirt-section-body:last-of-type { border-bottom: none; }

.dnwirt-reihe { margin-bottom: 15px; }
.dnwirt-reihe:last-child { margin-bottom: 0; }

.dnwirt-cols-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.dnwirt-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 540px) {
    .dnwirt-cols-3,
    .dnwirt-cols-2 { grid-template-columns: 1fr; }
    .dnwirt-section-body { padding: 16px; }
}

.dnwirt-feld label {
    display: block;
    font-size: 0.77rem;
    font-weight: 700;
    color: var(--dw-primary-d);
    margin-bottom: 6px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.dnwirt-pflicht { color: var(--dw-primary); }

.dnwirt-feld input,
.dnwirt-feld select,
.dnwirt-feld textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--dw-border);
    border-radius: var(--dw-radius);
    padding: 11px 14px;
    font-size: 0.95rem;
    font-family: var(--dw-font-body);
    color: var(--dw-ink);
    background: var(--dw-primary-tint2);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.dnwirt-feld select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300718d' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
    cursor: pointer;
}

.dnwirt-feld input:focus,
.dnwirt-feld select:focus,
.dnwirt-feld textarea:focus {
    border-color: var(--dw-primary);
    background: var(--dw-white);
    box-shadow: 0 0 0 3px rgba(0,113,141,0.13);
}

.dnwirt-feld input::placeholder,
.dnwirt-feld textarea::placeholder { color: #a8c4cb; font-size: 0.9rem; }

.dnwirt-feld textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

.dnwirt-nachricht-toggle {
    background: none;
    border: none;
    color: var(--dw-primary);
    font-size: 0.88rem;
    font-family: var(--dw-font-body);
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    margin-bottom: 10px;
    display: inline-block;
}

.dnwirt-submit-bereich {
    padding: 18px 22px 22px;
    background: var(--dw-primary-tint2);
    border-top: 1px solid var(--dw-border);
}

.dnwirt-btn {
    display: block;
    width: 100%;
    background: var(--dw-primary);
    color: #fff;
    border: none;
    border-radius: var(--dw-radius);
    padding: 14px 24px;
    font-size: 0.98rem;
    font-family: var(--dw-font-body);
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.25s;
}

.dnwirt-btn:hover {
    background: var(--dw-primary-d);
    box-shadow: 0 5px 20px rgba(0,113,141,.30);
    transform: translateY(-1px);
}
.dnwirt-btn:active  { transform: translateY(0); }
.dnwirt-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.dnwirt-meldung {
    border-radius: var(--dw-radius);
    padding: 13px 16px;
    margin-bottom: 18px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.dnwirt-erfolg {
    background: var(--dw-success-bg);
    border: 1px solid var(--dw-success-bd);
    color: var(--dw-success);
    border-left: 4px solid var(--dw-success);
}

.dnwirt-fehler {
    background: var(--dw-error-bg);
    border: 1px solid var(--dw-error-bd);
    color: var(--dw-error);
    border-left: 4px solid var(--dw-error);
}
