/* ═══════════════════════════════════════════════════════════════════════════
   webdesign.css – Die Deutsche Webdesign-Schmiede (v1.0.1)
   /css/ | MoAktor

   Styles für /webdesign/. Ergänzt main.css — nutzt dessen
   Utility-Klassen (.section, .container, .btn, .max-w-700,
   .bg-gold-dim, .hero--compact, .hero-intro, .hero-actions) und
   ergänzt nur, was die Seite eigen macht.

   Wird über $extraCSS in MoaktorShellOptions geladen (nach
   main.css). Cache-Buster ?v=1.0.1 im <link>, gesetzt in
   /webdesign/index.php.

   ── Changelog ───────────────────────────────────────────────────────
   v1.0.1 | 11.10.2026 | QS-Fixes nach Review.
          |
          |  (a) QS-8B-02: .hero--compact und .hero-intro aus dieser
          |      Datei entfernt. Beide Regeln stehen in main.css
          |      v3.2.6 und werden über die Shell geladen — die
          |      Doppeldefinition war redundant und hätte bei
          |      künftigen Änderungen zu Drift geführt.
          |
          |  (b) QS-8B-05: .form-status--success ergänzt. Der
          |      Erfolgstext („E-Mail-Programm wird geöffnet …")
          |      hatte bisher nur den neutralen Status. Konsistent
          |      zum Fehler-Status (--error) gibt es jetzt eine
          |      eigene grüne Variante.
   v1.0.0 | 11.10.2026 | Welle-8B: Erste Fassung.
          |
          |  Sechs Abschnitte:
          |  1. Paar-Achse (.schmiede-duo)
          |  2. Pakete (.schmiede-pakete, .paket)
          |  3. Prozess (.schmiede-prozess, .prozess-schritt)
          |  4. Referenzen (.schmiede-referenzen, .referenz)
          |  5. Tausch-Satz (#tausch)
          |  6. Kontakt + Formular (.schmiede-kontakt, #webdesign-formular)

   IDX: TBD | V: 1.0.1 | L: 0
   CHK: idx-marker, form-status-success
   ═══════════════════════════════════════════════════════════════════════════ */

/* ==========================================================================
   HINWEIS ZU HERO-UTILITIES
   ==========================================================================
   .hero--compact, .hero-intro und .hero-actions sind generische
   Hero-Utilities und leben in main.css v3.2.6. Sie werden auf
   dieser Seite verwendet, aber hier nicht neu definiert. */

/* ==========================================================================
   1 · PAAR-ACHSE (.schmiede-duo)
   ========================================================================== */

.schmiede-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.duo-part {
    text-align: center;
}

.duo-portrait {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 1.5rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(212, 175, 55, 0.3);
}

.duo-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.duo-part h3 {
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
    color: var(--schwan);
}

.duo-rolle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.duo-part p:not(.duo-rolle) {
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.7;
}

.duo-schluss {
    text-align: center;
    font-style: italic;
    margin-top: 2rem;
    opacity: 0.85;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .schmiede-duo {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .duo-portrait {
        max-width: 180px;
    }
}

/* ==========================================================================
   2 · PAKETE (.schmiede-pakete)
   ========================================================================== */

.schmiede-pakete {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.paket {
    background: var(--nacht-glas, rgba(11, 26, 47, 0.88));
    border: 1px solid var(--gold-20, rgba(212, 175, 55, 0.2));
    border-radius: var(--radius, 18px);
    padding: 2rem 1.8rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-smooth, 300ms cubic-bezier(0.22, 0.61, 0.36, 1));
}

@media (hover: hover) {
    .paket:hover {
        border-color: var(--gold, #d4af37);
        transform: translateY(-3px);
        box-shadow: 0 12px 32px var(--gold-15, rgba(212, 175, 55, 0.15));
    }
}

.paket--featured {
    border-color: var(--gold, #d4af37);
    background:
        linear-gradient(135deg,
            rgba(212, 175, 55, 0.06),
            rgba(11, 26, 47, 0.7));
}

.paket h3 {
    margin: 0 0 0.5rem;
    font-size: 1.4rem;
    color: var(--gold, #d4af37);
    font-family: var(--font-serif, 'Playfair Display', 'Georgia', serif);
    font-weight: 500;
}

.paket-untertitel {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--schwan, #f5f0e8);
    opacity: 0.85;
    margin: 0 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.paket p:not(.paket-untertitel) {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    color: #d0d0e0;
}

/* ==========================================================================
   3 · PROZESS (.schmiede-prozess)
   ========================================================================== */

.schmiede-prozess {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    counter-reset: prozess;
}

.prozess-schritt {
    position: relative;
    padding: 1.8rem 1.5rem 1.5rem;
    border-left: 2px solid rgba(212, 175, 55, 0.3);
    padding-left: 2.5rem;
}

.prozess-schritt::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(212, 175, 55, 0.6),
        rgba(212, 175, 55, 0.1));
}

.prozess-nummer {
    position: absolute;
    left: -20px;
    top: 1.8rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--nacht);
    border: 2px solid var(--gold, #d4af37);
    color: var(--gold, #d4af37);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif, 'Playfair Display', 'Georgia', serif);
    font-size: 1.1rem;
    font-weight: 500;
    z-index: 1;
}

.prozess-schritt h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    color: var(--schwan, #f5f0e8);
}

.prozess-schritt p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    opacity: 0.85;
}

@media (max-width: 640px) {
    .schmiede-prozess {
        grid-template-columns: 1fr;
    }
    .prozess-schritt {
        padding-left: 2rem;
    }
    .prozess-nummer {
        left: -18px;
    }
}

/* ==========================================================================
   4 · REFERENZEN (.schmiede-referenzen)
   ========================================================================== */

.schmiede-referenzen {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}

.referenz {
    margin: 0;
}

.referenz-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.1rem 1.3rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    background: rgba(11, 26, 47, 0.5);
    text-decoration: none;
    color: var(--text, #e0e0e0);
    transition: all 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.referenz-link strong {
    font-family: var(--font-serif, 'Playfair Display', 'Georgia', serif);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gold, #d4af37);
    letter-spacing: 0.01em;
}

.referenz-link span {
    font-size: 0.88rem;
    opacity: 0.8;
    line-height: 1.5;
}

.referenz-link span em {
    font-style: italic;
    opacity: 0.7;
}

.referenz-link:hover,
.referenz-link:focus-visible {
    border-color: var(--gold, #d4af37);
    background: rgba(212, 175, 55, 0.06);
    transform: translateY(-2px);
}

.referenz-link--text {
    cursor: default;
}

.referenz-link--text:hover {
    transform: none;
    border-color: rgba(212, 175, 55, 0.15);
    background: rgba(11, 26, 47, 0.5);
}

/* ==========================================================================
   5 · TAUSCH-SATZ (#tausch)
   ========================================================================== */

.tausch-schluss {
    font-size: 1.35rem;
    margin-top: 2rem;
    font-family: var(--font-serif, 'Playfair Display', 'Georgia', serif);
    font-weight: 500;
    font-style: italic;
}

/* ==========================================================================
   6 · KONTAKT (.schmiede-kontakt)
   ========================================================================== */

.schmiede-kontakt {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.kontakt-direkt h3,
.kontakt-formular h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: var(--gold, #d4af37);
    font-family: var(--font-serif, 'Playfair Display', 'Georgia', serif);
    font-weight: 500;
}

.kontakt-direkt p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

.kontakt-formular .form-hinweis {
    font-size: 0.9rem;
    color: #b0b0d0;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .schmiede-kontakt {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   7 · FORMULAR
   ========================================================================== */

#webdesign-formular label {
    display: block;
    font-size: 0.85rem;
    color: var(--gold-hell, #f0d060);
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

#webdesign-formular input,
#webdesign-formular textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.8rem 1rem;
    margin-bottom: 1.2rem;
    background: var(--nacht-70, rgba(11, 26, 47, 0.7));
    border: 1px solid var(--gold-30, rgba(212, 175, 55, 0.3));
    border-radius: var(--radius-sm, 12px);
    color: var(--schwan, #f5f0e8);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-smooth, 300ms cubic-bezier(0.22, 0.61, 0.36, 1)),
                box-shadow var(--transition-smooth, 300ms cubic-bezier(0.22, 0.61, 0.36, 1));
}

#webdesign-formular input:focus,
#webdesign-formular textarea:focus {
    border-color: var(--gold, #d4af37);
    box-shadow: 0 0 0 3px var(--gold-15, rgba(212, 175, 55, 0.15));
}

#webdesign-formular textarea {
    min-height: 140px;
    resize: vertical;
}

#webdesign-formular .form-aktion {
    margin-top: 0.5rem;
}

/* ── Status-Zeile ─────────────────────────────────────────────────────
   role="status" — ruhige Rückmeldung statt alert().
   Drei Zustände:
     .form-status            — neutral („wird geöffnet …")
     .form-status--error     — Fehler (rot)
     .form-status--success   — Erfolg (grün, sanft) */
.form-status {
    display: block;
    min-height: 1.4em;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(245, 240, 232, 0.75);
    transition: color 220ms ease;
}

.form-status--error {
    color: #ff9a8a;
    font-style: normal;
}

.form-status--success {
    color: #a8d5a8;
    font-style: normal;
}