/* ===============================
   AskByTel – Style Sheet
   Main Color: #e11d48 (Rose)
   =============================== */

   :root {
    /* Color System */
    --primary: #e11d48;
    --primary-light: #fb7185;
    --primary-dark: #9f1239;
    --primary-50: #fff1f2;
    --primary-100: #ffe4e6;
    --primary-200: #fecdd3;
    --primary-300: #fda4af;
    --primary-400: #fb7185;
    --primary-500: #e11d48;
    --primary-600: #be123c;
    --primary-700: #9f1239;
    --primary-800: #881337;
    --primary-900: #4c0519;

    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --dark: #0a0a0f;
    --dark-2: #12121a;
    --dark-3: #1a1a25;
    --dark-card: #161620;
    --dark-border: #2a2a3a;

    --light: #ffffff;
    --light-2: #f8fafc;
    --light-3: #f1f5f9;
    --light-text: #1e293b;
    --light-text-2: #64748b;
    --light-border: #e2e8f0;

    /* Typography */
    --font-head: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* Spacing (8px system) */
    --sp-1: 8px;
    --sp-2: 16px;
    --sp-3: 24px;
    --sp-4: 32px;
    --sp-5: 40px;
    --sp-6: 48px;
    --sp-7: 64px;
    --sp-8: 80px;
    --sp-9: 120px;

    /* Radius */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-primary: 0 12px 40px rgba(225,29,72,0.3);

    /* Transitions */
    --t-fast: 0.2s cubic-bezier(0.4,0,0.2,1);
    --t: 0.35s cubic-bezier(0.4,0,0.2,1);
    --t-slow: 0.6s cubic-bezier(0.16,1,0.3,1);
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--light);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-4);
}

.section {
    padding: var(--sp-9) 0;
    position: relative;
}

.section-dark {
    background: var(--light-2);
    color: var(--light-text);
}

.section-vcenter {
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.section-vcenter > .container {
    width: 100%;
}

.features-grid-equal {
    align-items: stretch;
}

.features-grid-equal .feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.features-grid-equal .feature-card p {
    flex: 1;
}

/* Image cards: photo above, text below — no overlay on the image */
.image-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
}

.image-card {
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--t), box-shadow var(--t);
}

.image-card-media {
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.image-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--t-slow);
}

.image-card-body {
    padding: var(--sp-3) var(--sp-4) var(--sp-4);
}

.image-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: var(--sp-1);
    color: var(--light-text);
}

.image-card-body p {
    color: var(--light-text-2);
    font-size: 0.95rem;
    line-height: 1.65;
}

.image-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.image-card:hover .image-card-media img {
    transform: scale(1.05);
}

.section-accent {
    background: var(--light-3);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-50);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: var(--sp-2);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--sp-7);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--sp-2);
    color: var(--light-text);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--light-text-2);
    line-height: 1.7;
}

.gradient-text,
.gradient-text-light {
    color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-1);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all var(--t);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 16px 50px rgba(225,29,72,0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--light-text);
    border: 1px solid var(--light-border);
}

.btn-ghost:hover {
    background: var(--light-3);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--primary-50);
    transform: translateY(-2px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.12);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-arrow {
    transition: transform var(--t);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--t);
    background: #fff;
    border-bottom: 1px solid var(--light-border);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--light-border);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 48px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--light-text);
    flex-shrink: 0;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--primary);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: -2px;
}

.logo-accent { color: var(--primary); }

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: clamp(14px, 1.6vw, 28px);
    list-style: none;
    min-width: 0;
}

.nav-links a {
    color: var(--light-text-2);
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: color var(--t);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width var(--t);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-links__cta-mobile {
    display: none;
}

.nav-cta {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.lang-switcher select {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 10px;
    border: 1px solid var(--light-border);
    border-radius: 8px;
    background: #fff;
    color: var(--light-text);
    cursor: pointer;
}

.lang-switcher select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225,29,72,0.12);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--light-text);
    border-radius: 3px;
    transition: all var(--t);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--light-3);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img,
.hero-media .photo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-panel {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(159, 18, 57, 0.92) 0%,
        rgba(225, 29, 72, 0.88) 42%,
        rgba(225, 29, 72, 0.55) 62%,
        rgba(225, 29, 72, 0.15) 100%
    );
    clip-path: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-4);
    width: 100%;
}

.hero-text {
    max-width: 560px;
    color: #fff;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--sp-2);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.45);
    color: #fff;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--sp-3);
}

.hero-copy {
    margin-bottom: var(--sp-4);
}

.hero-copy p {
    font-size: 1.02rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.65;
    margin-bottom: var(--sp-2);
}

.hero-copy p:last-child {
    margin-bottom: 0;
}

.pulse-dot {
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
    50% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    line-height: 1.08;
    margin-bottom: var(--sp-3);
    color: #fff;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    margin-bottom: var(--sp-4);
    max-width: 480px;
}

.hero-subtitle strong { color: #fff; }

.hero-cta-group {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
}

.hero .btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.55);
}

.hero .btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
}

.hero .btn-white:hover {
    background: #fff;
    color: var(--primary);
}

/* Compact hero for subpages */
.hero-page {
    min-height: 72vh;
    min-height: 72dvh;
    padding: 130px 0 72px;
}

.page-copy {
    color: var(--light-text-2);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: var(--sp-2);
}

.page-copy-emphasis {
    color: var(--light-text);
    font-weight: 600;
}

.features-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.split-layout-reverse {
    direction: rtl;
}

.split-layout-reverse > * {
    direction: ltr;
}

.nav-links a.active {
    color: var(--primary);
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
}

.feature-card {
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-4);
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-slow);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-200);
    background: #fff;
    box-shadow: var(--shadow);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: var(--sp-2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: 14px;
    color: var(--primary);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--sp-1);
    color: var(--light-text);
}

.feature-card p {
    color: var(--light-text-2);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== TIMELINE ===== */
.timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: var(--primary-200);
}

.timeline-item {
    display: flex;
    gap: var(--sp-4);
    padding-left: 0;
    position: relative;
    margin-bottom: var(--sp-5);
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-number {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: var(--shadow-primary);
    z-index: 1;
    transition: transform var(--t);
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1) rotate(5deg);
}

.timeline-content {
    padding-top: 14px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: var(--sp-1);
}

.timeline-content p {
    color: var(--light-text-2);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== SPLIT LAYOUT ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-7);
    align-items: center;
}

.split-lead {
    font-size: 1.15rem;
    color: var(--light-text-2);
    margin-bottom: var(--sp-3);
    line-height: 1.7;
}

.checklist { margin-bottom: var(--sp-3); }

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--light-text);
}

.check {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check svg {
    width: 12px;
    height: 12px;
}

.split-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.split-image:hover img { transform: scale(1.05); }

.split-image-badge {
    position: absolute;
    bottom: var(--sp-3);
    left: var(--sp-3);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.split-image-badge strong { display: block; font-family: var(--font-head); color: var(--primary); }
.split-image-badge span { font-size: 0.85rem; color: var(--light-text-2); }

/* ===== JOBS ===== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-4);
}

.job-card {
    background: #fff;
    border: 2px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-4);
    transition: all var(--t);
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(225,29,72,0.12);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sp-2);
}

.job-badge {
    background: var(--primary-50);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-head);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.job-badge .icon {
    width: 13px;
    height: 13px;
}

.job-badge-hot {
    background: var(--primary);
    color: #fff;
}

.job-type {
    font-size: 0.8rem;
    color: var(--light-text-2);
    font-weight: 600;
}

.job-card h3 {
    font-size: 1.35rem;
    margin-bottom: var(--sp-1);
}

.job-card > p {
    color: var(--light-text-2);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--sp-2);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--sp-2);
}

.job-tag {
    background: var(--light-3);
    color: var(--light-text);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.job-tag .icon {
    width: 13px;
    height: 13px;
    color: var(--primary);
}

.job-details {
    margin-bottom: var(--sp-3);
    flex-grow: 1;
}

.job-details li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--light-text);
    border-bottom: 1px solid var(--light-3);
}

.job-details li:last-child { border-bottom: none; }

/* ===== QUOTE ===== */
.section-quote {
    background: var(--primary);
    overflow: hidden;
}

.quote-block {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    position: relative;
    padding: var(--sp-4);
}

.quote-mark {
    font-family: var(--font-head);
    font-size: 6rem;
    color: rgba(255,255,255,0.2);
    line-height: 1;
    margin-bottom: -30px;
}

.quote-block blockquote {
    font-family: var(--font-head);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: var(--sp-4);
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-600);
    border: 3px solid rgba(255,255,255,0.35);
}

.quote-author strong { display: block; font-family: var(--font-head); }
.quote-author span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* ===== FORM ===== */
.form-wrapper {
    max-width: none;
    width: 100%;
    margin: 0;
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-xl);
    padding: var(--sp-5) var(--sp-6);
    box-shadow: var(--shadow);
}

.bewerbungs-form { display: flex; flex-direction: column; gap: var(--sp-4); }

.form-section {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--light-border);
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--light-text);
    margin: 0;
}

.form-hint {
    font-size: 0.9rem;
    color: var(--light-text-2);
    line-height: 1.6;
    margin: 0;
}

.form-hint a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-3);
}

@media (min-width: 900px) {
    .form-radio-group {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--light-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--light-2);
    border: 1px solid var(--light-border);
    border-radius: var(--radius);
    padding: 14px 18px;
    color: var(--light-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--t);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--light-text-2); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225,29,72,0.12);
    background: #fff;
}

.form-group select option { background: #fff; color: var(--light-text); }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.form-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }
.form-check label { font-size: 0.85rem; color: var(--light-text-2); cursor: pointer; }

.form-success {
    text-align: center;
    padding: var(--sp-5);
    color: var(--light-text);
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--sp-2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-50);
    border: 1px solid var(--primary-200);
    color: var(--primary);
}

.success-icon svg {
    width: 36px;
    height: 36px;
}
.form-success h3 { font-size: 1.8rem; margin-bottom: var(--sp-1); color: var(--light-text); }
.form-success p { color: var(--light-text-2); font-size: 1.1rem; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
    border-bottom: 1px solid var(--light-border);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--sp-3) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-2);
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--light-text);
    text-align: left;
    transition: color var(--t);
}

.faq-question:hover { color: var(--primary); }

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform var(--t);
    flex-shrink: 0;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-slow), padding var(--t);
}

.faq-item.active .faq-answer {
    max-height: 480px;
    padding-bottom: var(--sp-3);
}

.faq-answer p {
    color: var(--light-text-2);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: var(--primary);
    padding: var(--sp-8) 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    display: none;
}

.cta-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.cta-content h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: var(--sp-2); color: #fff; }
.cta-content .gradient-text-light { color: #fff; }
.cta-content p { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin-bottom: var(--sp-4); }

.abschluss {
    padding: var(--sp-9) 0;
}

.abschluss-brand {
    margin-top: var(--sp-6);
    padding-top: var(--sp-4);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.abschluss-tagline {
    font-family: var(--font-head);
    font-size: 1.05rem !important;
    font-weight: 600;
    color: #fff !important;
    margin-bottom: var(--sp-1) !important;
}

.abschluss-motto {
    font-size: 0.95rem !important;
    font-style: italic;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 0 !important;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--light-2);
    color: var(--light-text-2);
    padding: var(--sp-7) 0 var(--sp-4);
    border-top: 1px solid var(--light-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--sp-5);
    margin-bottom: var(--sp-5);
}

.footer-col .logo { margin-bottom: var(--sp-2); }
.footer-col p { font-size: 0.9rem; line-height: 1.6; }

.footer-col h4 {
    color: var(--light-text);
    font-size: 1rem;
    margin-bottom: var(--sp-2);
}

.footer-col ul li {
    padding: 6px 0;
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-item .icon {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-col a {
    transition: color var(--t);
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--light-border);
    padding-top: var(--sp-3);
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom a:hover { color: var(--primary); }

/* ===== ANIMATIONS ===== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
    transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-text {
        max-width: 520px;
    }
}

/* Navbar: früher auf Kompaktmodus, bevor es eng wird */
@media (max-width: 1180px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    /* Langer CTA bleibt nur im Desktop-Menü – im Kompaktmodus über Hamburger */
    .nav-cta { display: none; }

    .nav-container {
        gap: 16px;
        justify-content: space-between;
    }

    .nav-actions {
        margin-left: 0;
        gap: 10px;
    }

    .nav-links.mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex: none;
        padding: 8px 24px 24px;
        gap: 0;
        border-bottom: 1px solid var(--light-border);
        box-shadow: var(--shadow);
        z-index: 1001;
    }

    .nav-links.mobile-open li {
        border-bottom: 1px solid var(--light-border);
    }

    .nav-links.mobile-open a {
        display: block;
        padding: 14px 0;
        font-size: 1.05rem;
    }

    .nav-links.mobile-open a::after {
        display: none;
    }

    .nav-links__cta-mobile {
        display: list-item;
        border-bottom: none !important;
        padding-top: 16px;
    }

    .nav-links__cta-mobile a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 14px 20px !important;
        border-radius: 100px;
        background: var(--primary);
        color: #fff !important;
        font-weight: 700;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 110px 0 64px;
        min-height: auto;
    }

    .hero-panel {
        background: linear-gradient(
            180deg,
            rgba(159, 18, 57, 0.88) 0%,
            rgba(225, 29, 72, 0.82) 55%,
            rgba(225, 29, 72, 0.72) 100%
        );
    }

    .hero-media img {
        object-position: center center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-content {
        text-align: left;
    }

    .hero-cta-group { justify-content: flex-start; }

    .features-grid,
    .features-grid-3 { grid-template-columns: 1fr; }
    .image-cards-grid { grid-template-columns: 1fr; }
    .image-card-media { height: 200px; }
    .split-layout { grid-template-columns: 1fr; }
    .split-layout-reverse { direction: ltr; }
    .jobs-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-wrapper { padding: var(--sp-4); }
}

@media (max-width: 600px) {
    .nav-container { padding: 0 16px; }
    .section { padding: var(--sp-7) 0; }
    .hero { padding-top: 100px; }
    .photo-placeholder--hero { min-height: 100%; }
    .photo-placeholder--square { min-height: 240px; }
    .content-block { padding: var(--sp-3); }
}

/* ===== CONTENT BLOCKS ===== */
.content-narrow {
    max-width: 760px;
    margin: 0 auto;
}

.content-narrow h2 {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    margin-bottom: var(--sp-3);
    color: var(--light-text);
}

.content-narrow p {
    color: var(--light-text-2);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: var(--sp-2);
}

.content-blocks {
    display: grid;
    gap: var(--sp-4);
    max-width: 900px;
    margin: 0 auto;
}

.content-blocks--spaced {
    margin-top: var(--sp-7);
}

.content-block {
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-4);
}

.section-dark .content-block,
.section-accent .content-block {
    background: #fff;
}

.content-block h3 {
    font-size: 1.35rem;
    margin-bottom: var(--sp-2);
    color: var(--light-text);
}

.content-block p {
    color: var(--light-text-2);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: var(--sp-2);
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block .btn {
    margin-top: var(--sp-2);
}

.content-block--brand {
    border-color: var(--primary-200);
    background: var(--primary-50);
}

.content-block--brand h3 {
    color: var(--primary-700);
}

.split-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--sp-2);
}

.split-text p {
    color: var(--light-text-2);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: var(--sp-2);
}

.split-image .photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: var(--radius-lg);
}

/* ===== PHOTO PLACEHOLDERS ===== */
.photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background:
        repeating-linear-gradient(
            -45deg,
            var(--primary-50),
            var(--primary-50) 12px,
            var(--primary-100) 12px,
            var(--primary-100) 24px
        );
    border: 2px dashed var(--primary-300);
    color: var(--primary-800);
    text-align: center;
    padding: var(--sp-3);
}

.photo-placeholder__label {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.photo-placeholder__hint {
    font-size: 0.9rem;
    color: var(--primary-700);
    max-width: 280px;
    line-height: 1.45;
}

.photo-placeholder--hero {
    min-height: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.photo-placeholder--square {
    min-height: 320px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
}

.photo-placeholder--banner {
    min-height: 180px;
    opacity: 0.35;
    border: none;
}

.abschluss {
    position: relative;
}

.abschluss-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.abschluss-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0.22;
}

.abschluss .container {
    position: relative;
    z-index: 1;
}

.abschluss::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(190, 18, 60, 0.88);
    pointer-events: none;
}

.abschluss-name {
    font-family: var(--font-head);
    font-size: 1.4rem !important;
    font-weight: 800;
    color: #fff !important;
    margin-bottom: var(--sp-1) !important;
}

.footer-slogan {
    margin-top: var(--sp-2);
    font-style: italic;
    color: var(--light-text);
    font-weight: 600;
}

/* ===== FORM RADIOS / FIELDSET ===== */
.bewerbungs-form fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.bewerbungs-form legend.form-section-title {
    padding: 0;
    margin-bottom: var(--sp-2);
}

.form-label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--light-text);
    display: block;
    margin-bottom: 4px;
}

.form-radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-radio {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--light-border);
    border-radius: var(--radius);
    background: var(--light-2);
    cursor: pointer;
    transition: border-color var(--t), background var(--t);
}

.form-radio:hover {
    border-color: var(--primary-300);
    background: #fff;
}

.form-radio:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-50);
}

.form-radio input {
    margin-top: 3px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.form-radio span {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.45;
}

.form-success-meta {
    margin-top: var(--sp-2);
    font-size: 0.9rem;
    color: var(--light-text-2);
    font-family: var(--font-head);
}

.form-group[hidden],
.form-section[hidden] {
    display: none !important;
}

/* Active nav link hint via :target not needed; scroll-spy optional later */
.nav-links a[aria-current="true"] {
    color: var(--primary);
}

.nav-links a[aria-current="true"]::after {
    width: 100%;
}
