/**
 * Franchise-Page (/franchise/)
 * Nutzt Theme-Header + Footer, eigene Section-Styles
 */

/* ═══ Section Framework ═══ */
.cq-fr-section {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

@media (max-width: 768px) {
    .cq-fr-section { padding: 4rem 1.5rem; }
}

.cq-fr-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 0.8rem;
}

.cq-fr-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 100;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cq-fr-sub {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* ═══ HERO ═══ */
.cq-fr-hero {
    position: relative;
    z-index: 2;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--header-height) + 4rem) 3rem 4rem;
}

.cq-fr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 50% 40%, rgba(178, 148, 116, 0.08) 0%, transparent 70%);
}

.cq-fr-hero-overline {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.cq-fr-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 100;
    letter-spacing: clamp(0.3rem, 1.5vw, 1rem);
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.15), 0 0 80px rgba(178, 148, 116, 0.1);
}

.cq-fr-hero-title em {
    font-style: normal;
    color: var(--gold);
}

.cq-fr-hero-sub {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.8;
    max-width: 550px;
    margin-bottom: 3rem;
}

.cq-fr-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ═══ KENNZAHLEN ═══ */
.cq-fr-stats-bar {
    position: relative;
    z-index: 2;
    background: var(--surface);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cq-fr-stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 3rem;
}

.cq-fr-stat {
    text-align: center;
    padding: 1rem 0;
}

.cq-fr-stat + .cq-fr-stat {
    border-left: 1px solid var(--glass-border);
}

.cq-fr-stat-value {
    font-size: 2.2rem;
    font-weight: 200;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.cq-fr-stat-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .cq-fr-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .cq-fr-stat + .cq-fr-stat { border-left: none; }
}

/* ═══ WARUM FRANCHISE ═══ */
.cq-fr-reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cq-fr-reason {
    padding: 2.5rem 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.cq-fr-reason::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.cq-fr-reason:hover {
    border-color: rgba(178, 148, 116, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cq-fr-reason-number {
    font-size: 3rem;
    font-weight: 100;
    color: var(--gold);
    opacity: 0.15;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    line-height: 1;
}

.cq-fr-reason-title {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.cq-fr-reason-text {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .cq-fr-reasons-grid { grid-template-columns: 1fr; }
}

/* ═══ LEISTUNGEN ═══ */
.cq-fr-package {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--glass-border);
    background: var(--glass);
}

.cq-fr-package-col {
    padding: 3rem;
}

.cq-fr-package-col + .cq-fr-package-col {
    border-left: 1px solid var(--glass-border);
}

.cq-fr-package-heading {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}

.cq-fr-package-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cq-fr-package-item:last-child { border-bottom: none; }

.cq-fr-package-check {
    color: var(--gold);
    font-size: 0.75rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.cq-fr-package-text {
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.cq-fr-package-text strong {
    color: var(--white);
    font-weight: 500;
}

@media (max-width: 768px) {
    .cq-fr-package { grid-template-columns: 1fr; }
    .cq-fr-package-col + .cq-fr-package-col {
        border-left: none;
        border-top: 1px solid var(--glass-border);
    }
}

/* ═══ ABLAUF / TIMELINE ═══ */
.cq-fr-timeline {
    position: relative;
    padding-left: 3rem;
}

.cq-fr-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--gold), rgba(178, 148, 116, 0.1));
}

.cq-fr-step {
    position: relative;
    padding-bottom: 3rem;
}

.cq-fr-step:last-child { padding-bottom: 0; }

.cq-fr-step-dot {
    position: absolute;
    left: -2.65rem;
    top: 0.2rem;
    width: 12px;
    height: 12px;
    border: 2px solid var(--gold);
    background: var(--black);
}

.cq-fr-step-label {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 0.3rem;
}

.cq-fr-step-title {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cq-fr-step-text {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 500px;
}

/* ═══ ANFORDERUNGEN ═══ */
.cq-fr-req-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.cq-fr-req {
    padding: 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cq-fr-req-icon {
    font-size: 1.2rem;
    opacity: 0.4;
    flex-shrink: 0;
    margin-top: 2px;
}

.cq-fr-req-title {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.cq-fr-req-text {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cq-fr-req-grid { grid-template-columns: 1fr; }
}

/* ═══ KONTAKTFORMULAR ═══ */
.cq-fr-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    border: 1px solid var(--glass-border);
    background: var(--glass);
}

.cq-fr-contact-info {
    padding: 3rem;
    background: var(--glass-medium);
    border-right: 1px solid var(--glass-border);
}

.cq-fr-contact-form-wrap {
    padding: 3rem;
}

.cq-fr-contact-quote {
    font-size: 1.1rem;
    font-weight: 200;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
    border-left: 2px solid rgba(178, 148, 116, 0.3);
    padding-left: 1.5rem;
}

.cq-fr-contact-detail {
    margin-bottom: 1.5rem;
}

.cq-fr-contact-detail-label {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 0.3rem;
}

.cq-fr-contact-detail-value {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
}

.cq-fr-contact-detail-value a {
    color: var(--gold);
    text-decoration: none;
}

.cq-fr-contact-detail-value a:hover {
    text-decoration: underline;
}

.cq-fr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cq-fr-form-group {
    display: flex;
    flex-direction: column;
}

.cq-fr-form-group.full {
    grid-column: 1 / -1;
}

.cq-fr-form-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.4rem;
}

/* Felder in einer Flucht (Korrektur Viktor 17.09.2026): Bricht ein Label
   zweizeilig um ("Gewünschter Standort / Region *"), drückte es sein Feld
   nach unten. margin-top:auto richtet die Eingaben am unteren Rand der
   gleich hohen Grid-Zeile aus — unabhängig von der Labellänge. */
.cq-fr-form-group > .cq-fr-form-input,
.cq-fr-form-group > .cq-fr-form-select {
    margin-top: auto;
}

.cq-fr-form-input,
.cq-fr-form-select,
.cq-fr-form-textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--white);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 300;
    padding: 0.8rem 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.cq-fr-form-input:focus,
.cq-fr-form-select:focus,
.cq-fr-form-textarea:focus {
    border-color: var(--gold);
}

.cq-fr-form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.cq-fr-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.cq-fr-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.cq-fr-form-select option {
    background: #111;
    color: #fff;
}

.cq-fr-form-actions {
    margin-top: 1.5rem;
}

.cq-fr-form-hint {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 1rem;
}

/* ═══ Honeypot — visuell verstecken aber für Bots erreichbar ═══ */
.cq-fr-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ═══ Status-Banner (Success/Error nach Form-Submit) ═══ */
.cq-fr-message {
    margin-bottom: 2rem;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.cq-fr-message strong {
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.cq-fr-message a {
    color: var(--gold);
    text-decoration: none;
}

.cq-fr-message a:hover { text-decoration: underline; }

.cq-fr-message-success {
    border-color: rgba(24, 194, 126, 0.4);
    background: rgba(24, 194, 126, 0.06);
}

.cq-fr-message-success strong {
    color: var(--ok);
}

.cq-fr-message-error {
    border-color: rgba(255, 100, 100, 0.4);
    background: rgba(255, 100, 100, 0.06);
}

.cq-fr-message-error strong {
    color: #ff6464;
}

@media (max-width: 768px) {
    .cq-fr-contact-wrapper { grid-template-columns: 1fr; }
    .cq-fr-contact-info {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
    .cq-fr-form-row { grid-template-columns: 1fr; }
}

/* ═══ CTA BANNER ═══ */
.cq-fr-cta-banner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 6rem 3rem;
    background: var(--surface);
    border-top: 1px solid var(--glass-border);
}

.cq-fr-cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(178, 148, 116, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cq-fr-cta-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 100;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
}

.cq-fr-cta-text {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
}
