/**
 * Violin Academy — Main Stylesheet
 *
 * Design-System: "The Resonant Gallery"
 * - Primary: #003f47 (Deep Teal)
 * - Primary Container: #005862
 * - Secondary/Accent: #a13f14 (Terracotta)
 * - Fonts: Cormorant SC (Headlines), Quicksand (Body)
 *
 * @package Violin_Academy
 */

/* ==========================================================================
   @font-face — Self-hosted Fonts
   ========================================================================== */

@font-face {
    font-family: 'Cormorant SC';
    src: url('../fonts/cormorant-sc-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant SC';
    src: url('../fonts/cormorant-sc-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/quicksand-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/quicksand-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/quicksand-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/quicksand-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   CSS Custom Properties — Resonant Gallery Design System
   ========================================================================== */

:root {
    /* Colors — Material Design 3 inspired palette */
    --color-primary: #005862;
    --color-primary-dark: #003f47;
    --color-on-primary: #ffffff;
    --color-on-primary-container: #8accd7;

    --color-secondary: #ab461b;
    --color-on-secondary: #ffffff;

    --color-bg: #f9f9f7;
    --color-surface: #f9f9f7;
    --color-surface-container-low: #f4f4f2;
    --color-surface-container: #eeeeec;
    --color-surface-variant: #e2e3e1;
    --color-surface-dim: #dadad8;

    --color-white: #ffffff;
    --color-text: #1a1c1b;
    --color-text-light: #3f484a;
    --color-text-muted: #6f797a;
    --color-border: #bfc8ca;

    --color-error: #ba1a1a;

    --color-selection-bg: #ffdbcf;
    --color-selection-text: #380d00;

    /* Typography */
    --font-headline: 'Cormorant SC', Georgia, 'Times New Roman', serif;
    --font-body: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.75;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-2xl: 8rem;

    /* Layout */
    --container-max: 1280px;
    --container-narrow: 800px;
    --header-height: 112px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
    --transition-long: 0.7s ease;

    /* Shadows */
    --shadow-sm: 0 1px 10px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 60px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: var(--line-height-base);
    color: var(--color-text);
    background-color: var(--color-bg);
}

::selection {
    background: var(--color-selection-bg);
    color: var(--color-selection-text);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

/* Global focus-visible for keyboard navigation (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   Typography — Editorial, wide-spaced headline style
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-primary);
}

h1 { font-size: 3.75rem; }
h2 { font-size: 3rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.25rem; }

.section-label {
    font-family: var(--font-headline);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    font-weight: 400;
    color: var(--color-primary);
    font-size: 3rem;
    line-height: 1.15;
}

.section-title::after {
    content: '';
    display: block;
    width: 6rem;
    height: 2px;
    background: var(--color-secondary);
    margin: var(--spacing-sm) auto 0;
}

.section-title--left {
    text-align: left;
}

.section-title--left::after {
    margin-left: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: var(--container-narrow);
}

/* ==========================================================================
   Buttons — Resonant Gallery Style
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-on-primary);
}

.btn-primary:hover {
    opacity: 0.9;
    color: var(--color-on-primary);
}

.btn-accent {
    background: var(--color-secondary);
    color: var(--color-on-secondary);
    box-shadow: 0 2px 12px rgba(171, 70, 27, 0.3);
}

.btn-accent:hover {
    opacity: 0.9;
    color: var(--color-on-secondary);
}

/* Larger hero-specific button */
.section-hero .btn-accent {
    padding: 1.125rem 2.75rem;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    opacity: 0.9;
}

.btn-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   Header — Glass morphism nav, fixed top
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(249, 249, 247, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: var(--header-height);
    transition: background var(--transition-base), box-shadow var(--transition-base);
    will-change: transform;
    transform: translateZ(0);
}

.site-header.is-scrolled {
    background: rgba(249, 249, 247, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo / Branding */
.site-branding .site-title-link {
    text-decoration: none;
}

.site-branding .site-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

.site-branding .custom-logo {
    max-height: 85px;
    width: auto;
    padding: 8px 0;
}

/* Navigation — Desktop inline */
.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.primary-menu li a {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0;
    opacity: 0.85;
    transition: opacity var(--transition-base), color var(--transition-base);
}

.primary-menu li a:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.primary-menu li.current-menu-item a,
.primary-menu li.current_page_item a {
    opacity: 1;
    color: var(--color-secondary);
}

/* Header CTA Button */
.header-cta {
    background: var(--color-secondary);
    color: var(--color-on-secondary);
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity var(--transition-base), transform var(--transition-fast);
    box-shadow: 0 2px 8px rgba(161, 63, 20, 0.2);
}

.header-cta:hover {
    opacity: 0.9;
    color: var(--color-on-secondary);
}

.header-cta:active {
    transform: scale(0.95);
}

/* Body lock when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-primary);
    transition: transform var(--transition-base), opacity var(--transition-base), background var(--transition-base);
}

.menu-toggle:hover .hamburger-line {
    background: var(--color-secondary);
}

/* Language switcher */
.header-lang-mobile {
    display: none;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 1px solid var(--color-border);
}


.lang-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    opacity: 1;
    text-decoration: none;
    transition: opacity var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.lang-item:hover {
    opacity: 1;
    color: var(--color-secondary);
}

.lang-active {
    color: var(--color-primary);
    opacity: 1;
    font-weight: 600;
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.site-main {
    margin-top: var(--header-height);
}

/* Breadcrumbs — inline in hero sections */
.breadcrumbs {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.03em;
    margin-bottom: var(--spacing-sm);
}

.breadcrumbs a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs .separator {
    margin: 0 0.4rem;
    opacity: 0.5;
}

/* ==========================================================================
   Hero Section — Asymmetric 2-column, text left, image right
   ========================================================================== */

.section-hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background: var(--color-surface);
    overflow: hidden;
    padding: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 1.5rem;
    align-items: center;
}

.hero-text {
    z-index: 1;
}

.hero-title {
    font-size: 6rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title em,
.hero-title i {
    color: var(--color-secondary);
    font-style: italic;
}

.hero-title .accent {
    color: var(--color-secondary);
    font-style: normal;
}

.hero-subtitle {
    font-size: 1.375rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    line-height: 1.65;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}


/* Hero image with curved left edge — bleeds right past container */
.hero-image-col {
    position: relative;
    height: 80vh;
    max-height: 820px;
    min-height: 500px;
    margin-right: -10rem;
}

.hero-image-shape {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10rem 0.5rem 0.5rem 10rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.hero-image-shape::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(0, 88, 98, 0.08);
    transform: translate(12px, 12px);
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-placeholder {
    background: var(--color-surface-container);
}

/* ==========================================================================
   Pädagogik Section — Text left, mosaic images right
   ========================================================================== */

.section-paedagogik {
    padding: var(--spacing-2xl) 0;
    background: var(--color-surface-container-low);
}

.paedagogik-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Left column: text */
.paedagogik-text {
    padding-top: var(--spacing-md);
}

.paedagogik-text .section-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.paedagogik-intro {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: var(--spacing-md);
}

.paedagogik-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.paedagogik-feature {
    display: block;
}

.paedagogik-feature-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.paedagogik-feature-title::before {
    content: '›';
    color: var(--color-secondary);
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.paedagogik-feature-text {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--color-text-light);
    padding-left: calc(0.75rem + 1ch);
    line-height: 1.7;
    margin: 0;
}

/* Right column: mosaic image grid */
.paedagogik-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.paedagogik-mosaic-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.paedagogik-mosaic-col--offset {
    padding-top: 3rem;
}

.paedagogik-img {
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.paedagogik-img--tall {
    height: 20rem;
}

.paedagogik-img--short {
    height: 12rem;
}

.paedagogik-img-placeholder {
    background: var(--color-surface-container);
}

/* ==========================================================================
   Angebot Section — 3-column cards, middle featured
   ========================================================================== */

.section-angebot {
    padding: var(--spacing-2xl) 0;
    background: var(--color-surface-container-low);
}

.site-main > .section-angebot:first-child {
    padding-top: var(--spacing-lg);
}

.angebot-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.angebot-card-v2 {
    background: var(--color-white);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid rgba(191, 200, 202, 0.15);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.angebot-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Featured (middle) card */
.angebot-card-v2--featured {
    background: var(--color-primary);
    color: var(--color-on-primary);
    border: none;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2rem);
}

.angebot-card-v2--featured:hover {
    transform: translateY(calc(-2rem - 8px));
    box-shadow: 0 32px 56px rgba(0, 88, 98, 0.25), 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Slide arrows — hidden on desktop, shown on mobile via responsive.css */
.angebot-slide-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: background 0.2s ease;
}

.angebot-slide-arrow:active {
    background: rgba(255,255,255,1);
}

.angebot-slide-arrow--prev { left: -0.25rem; }
.angebot-slide-arrow--next { right: -0.25rem; }

/* Title */
.angebot-card-v2__title {
    font-family: var(--font-headline);
    font-size: 1.875rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.angebot-card-v2--featured .angebot-card-v2__title {
    color: var(--color-white);
}

/* Text */
.angebot-card-v2__text {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.angebot-card-v2--featured .angebot-card-v2__text {
    color: var(--color-on-primary-container);
}

/* List */
.angebot-card-v2__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-light);
}

.angebot-card-v2--featured .angebot-card-v2__list {
    color: var(--color-on-primary-container);
}

/* ==========================================================================
   Rezensionen Section — Dark primary bg, title left, quotes right
   ========================================================================== */

.section-rezensionen {
    padding: var(--spacing-2xl) 0;
    background: var(--color-primary);
    color: var(--color-on-primary);
}

.rezensionen-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: center;
}

/* Left column */
.rezensionen-title {
    font-family: var(--font-headline);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
}

.rezensionen-divider {
    width: 6rem;
    height: 3px;
    background: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

/* Shared accent divider base — used by page-hero, single-hero, ueber-hero, tutorials-hero, kontakt-hero, confirmation */
.page-hero__divider,
.single-hero__divider,
.ueber-hero-v2__divider,
.tutorials-hero__divider,
.kontakt-hero__divider,
.confirmation-divider {
    width: 5rem;
    height: 3px;
    background: var(--color-secondary);
}

.rezensionen-text {
    font-size: 1.125rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-on-primary-container);
    line-height: 1.7;
}

/* Right column: quotes */
.rezensionen-quotes {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.rezension-quote {
    position: relative;
    padding-left: 3rem;
    margin: 0;
    border: none;
}

.rezension-mark {
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-headline);
    font-size: 3.5rem;
    line-height: 1;
    color: #ffb59a;
    opacity: 0.4;
}

.rezension-zitat {
    font-size: 1.375rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.rezension-autor {
    font-family: var(--font-headline);
    font-style: normal;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffb59a;
}

/* ==========================================================================
   About Section — "Meet Your Mentor" layout: text left, portrait right
   ========================================================================== */

.section-about {
    padding: var(--spacing-2xl) 0;
    background: var(--color-surface);
}

.about-inner-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Left: text column */
.about-name {
    font-family: var(--font-headline);
    font-size: 3.75rem;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.about-bio {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.85;
    margin-bottom: var(--spacing-md);
}

.about-bio p {
    margin-bottom: var(--spacing-md);
}

.about-bio p:last-child {
    margin-bottom: 0;
}

/* Stats row */
.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: var(--spacing-md);
}

.about-stat {
    text-align: center;
}

.about-stat__value {
    display: block;
    font-family: var(--font-headline);
    font-size: 1.875rem;
    color: var(--color-primary);
    line-height: 1.2;
}

.about-stat__label {
    display: block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* Right: portrait */
.about-portrait-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow-xl);
}

.about-portrait-placeholder {
    width: 100%;
    height: 600px;
    background: var(--color-surface-container);
    border-radius: 4px;
}

/* Video fallback in about section */
.about-portrait .about-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.about-portrait .about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Tipps Section — Card Grid
   ========================================================================== */

.section-tipps {
    padding: var(--spacing-2xl) 0;
    background: var(--color-surface);
}

.tipps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.tipp-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow 0.5s ease;
    border: 1px solid rgba(191, 200, 202, 0.1);
}

.tipp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.tipp-image {
    position: relative;
    display: block;
    overflow: hidden;
}

.tipp-image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform var(--transition-long);
}

.tipp-card:hover .tipp-image img {
    transform: scale(1.05);
}

.tipp-image-placeholder {
    width: 100%;
    aspect-ratio: 3 / 2;
    background: var(--color-surface-container);
}

.tipp-hover-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 88, 98, 0.5);
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.tipp-card:hover .tipp-hover-label {
    opacity: 1;
}

.tipp-title {
    font-size: 1.375rem;
    margin: 1rem 0 var(--spacing-xs);
    font-weight: 400;
    color: var(--color-primary);
    padding: 0 1.5rem;
}

.tipp-title a {
    color: var(--color-primary);
    text-decoration: none;
}

.tipp-title a:hover {
    color: var(--color-secondary);
}

.tipp-excerpt {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.7;
    padding: 0 1.5rem var(--spacing-sm);
}

/* ==========================================================================
   Buchung Section — iFrame (CTA style background)
   ========================================================================== */

.section-buchung {
    padding: var(--spacing-2xl) 0;
    background: var(--color-surface);
    position: relative;
}

.booking-iframe-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
}

.booking-iframe-wrapper iframe {
    width: 100%;
    border: none;
    min-height: 200px;
    transition: height 0.3s ease;
}

.booking-fallback {
    text-align: center;
    padding: var(--spacing-lg) 0;
    color: var(--color-text-light);
}

.booking-fallback .btn {
    display: inline-block;
    margin-top: var(--spacing-sm);
}

/* ==========================================================================
   Page Content — Headers, Entries
   ========================================================================== */

/* Shared hero section base */
.page-hero,
.single-hero,
.tutorials-hero,
.kontakt-hero {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    background: var(--color-surface);
}

.page-hero__title {
    font-family: var(--font-headline);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.page-hero__divider {
    margin: 0 auto;
}

.single-hero__title {
    font-family: var(--font-headline);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.15;
    margin-bottom: var(--spacing-sm);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.single-hero__divider {
    margin: 0 auto var(--spacing-md);
}

.single-hero__meta {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    letter-spacing: 0.03em;
}

.page-content {
    padding: var(--spacing-xl) 0;
}

.page-content .container {
    max-width: var(--container-narrow);
}

.entry-content {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.85;
}

.entry-content p {
    margin-bottom: var(--spacing-md);
}

.entry-content h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.entry-content h3 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
}

.entry-content li {
    margin-bottom: var(--spacing-xs);
}

.entry-content img {
    border-radius: 4px;
    margin: var(--spacing-md) 0;
    box-shadow: var(--shadow-md);
}

.entry-content blockquote {
    border-left: 3px solid var(--color-secondary);
    padding-left: var(--spacing-md);
    margin: var(--spacing-md) 0;
    font-style: italic;
    font-weight: 300;
    color: var(--color-text-light);
    font-size: 1.125rem;
}

/* ==========================================================================
   Blog / Archive
   ========================================================================== */


.post-navigation {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--spacing-lg);
}

.post-navigation a {
    color: var(--color-primary);
    font-weight: 500;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-color: var(--color-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-message {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 6px;
    margin-bottom: var(--spacing-md);
}

.form-message-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-message-error {
    background: #fff3f0;
    color: var(--color-secondary);
    border: 1px solid #ffd6cc;
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* ==========================================================================
   Sidebar / Widgets
   ========================================================================== */

.widget {
    margin-bottom: var(--spacing-md);
}

.widget-title {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--color-secondary);
    color: var(--color-primary);
}

/* ==========================================================================
   Footer — Dark teal, editorial grid
   ========================================================================== */

.site-footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.75);
    padding: var(--spacing-xl) 0;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

/* Footer brand */
.footer-brand-col {
    padding-right: var(--spacing-md);
}

.footer-logo img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand {
    font-family: var(--font-headline);
    font-size: 1.75rem;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.footer-brand-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 280px;
    margin-top: var(--spacing-sm);
}

.footer-links-col {
    text-align: center;
}

.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-link-list a:hover {
    color: var(--color-white);
}

/* Social Icons */
.footer-social-col {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* Footer bottom bar — hidden */
.footer-bottom {
    display: none;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.error-404 .error-code {
    font-family: var(--font-headline);
    font-size: 8rem;
    font-weight: 400;
    color: var(--color-surface-dim);
    line-height: 1;
}

.error-404 .error-message {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin: var(--spacing-md) 0;
}

/* ==========================================================================
   Search
   ========================================================================== */

.search-form {
    display: flex;
    max-width: 500px;
    margin: var(--spacing-md) auto;
}

.search-form .search-field {
    flex: 1;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: 6px 0 0 6px;
}

.search-form .search-field:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-color: var(--color-primary);
}

.search-form .search-submit {
    padding: 0.875rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-on-primary);
    border: 1px solid var(--color-primary);
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: background var(--transition-fast);
}

.search-form .search-submit:hover {
    background: var(--color-primary-dark);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: var(--spacing-lg) 0;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 0.875rem;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-on-primary);
}

/* ==========================================================================
   Fade-in Animation
   ========================================================================== */

.js-ready .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.js-ready .fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.text-muted { color: var(--color-text-light); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-md { margin-bottom: var(--spacing-md); }
.single-featured-image {
    margin-bottom: var(--spacing-lg);
}

.mb-lg { margin-bottom: var(--spacing-lg); }
.container--max { max-width: var(--container-max); }
.container--narrow { max-width: var(--container-narrow); }
.img-rounded { border-radius: 8px; box-shadow: var(--shadow-md); }
.py-lg { padding: var(--spacing-lg) 0; }
.empty-state { padding: var(--spacing-lg) 0; }

/* ==========================================================================
   Ueber mich Page — Resonant Gallery Design
   ========================================================================== */

/* Hero: Full-viewport sticky portrait left, scrolling text right */
.ueber-hero-v2 {
    position: relative;
    background: var(--color-surface);
}

.ueber-hero-v2__inner {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 0;
    align-items: start;
}

/* Left: Sticky full-viewport portrait */
.ueber-hero-v2__portrait-col {
    position: relative;
    align-self: stretch;
}

.ueber-hero-v2__portrait-sticky {
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    overflow: hidden;
}

.ueber-hero-v2__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.ueber-hero-v2__img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-surface-container);
}

/* Gradient fade from image to text */
.ueber-hero-v2__portrait-sticky::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(249, 249, 247, 0) 0%,
        rgba(249, 249, 247, 0.4) 40%,
        rgba(249, 249, 247, 0.85) 70%,
        rgba(249, 249, 247, 1) 100%
    );
    pointer-events: none;
}

/* Right: Scrolling text */
.ueber-hero-v2__text {
    padding: var(--spacing-2xl) var(--spacing-lg) var(--spacing-2xl) 0;
}

.ueber-hero-v2__title {
    font-family: var(--font-headline);
    font-size: 3.75rem;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.ueber-hero-v2__divider {
    margin-bottom: var(--spacing-lg);
}

.ueber-hero-v2__bio {
    font-size: 1.0625rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.85;
}

.ueber-hero-v2__bio p {
    margin-bottom: var(--spacing-md);
}


/* CTA */
.ueber-cta {
    padding: var(--spacing-2xl) 0;
    background: var(--color-surface-container-low);
}

/* ==========================================================================
   Tutorials Page — Hero, Filters, Grid
   ========================================================================== */

.tutorials-hero__title,
.kontakt-hero__title {
    font-family: var(--font-headline);
    font-size: 3.75rem;
    font-weight: 400;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.tutorials-hero__divider {
    margin: 0 auto var(--spacing-md);
}

.tutorials-hero__text,
.kontakt-hero__text {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
}

/* Filters */
.tutorials-filters {
    padding: var(--spacing-md) 0;
    background: var(--color-surface-container-low);
}

.tutorials-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto var(--spacing-md);
}

.tutorials-search input {
    flex: 1;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: 6px 0 0 6px;
}

.tutorials-search input:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-color: var(--color-primary);
}

.tutorials-search .btn {
    border-radius: 0 6px 6px 0;
}

.tutorials-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Grid section */
.tutorials-grid-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-surface-container-low);
}

.category-filter {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    transition: all var(--transition-fast);
}

.category-filter:hover,
.category-filter.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-on-primary);
}


/* ==========================================================================
   Unterricht — Feature Cards & Pricing
   ========================================================================== */


/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.unterricht-faq {
    padding: var(--spacing-2xl) 0;
    background: var(--color-white);
}

/* FAQ category filter buttons */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.faq-cat-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-light);
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-cat-btn:hover,
.faq-cat-btn.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-on-primary);
}

.faq-category-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.faq-category-group.is-hidden {
    display: none;
}

.faq-list {
    border-top: 1px solid var(--color-border);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--spacing-md) 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: var(--spacing-sm);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer-inner {
    padding: 0 0 var(--spacing-md);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.8;
}

.faq-answer-inner p {
    margin-bottom: var(--spacing-sm);
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Kontakt Page — Hero + Form Card + Info Sidebar
   ========================================================================== */

.kontakt-hero__divider {
    margin: 0 auto var(--spacing-md);
}

.kontakt-content {
    background: var(--color-surface-container-low);
}

.kontakt-content .container {
    max-width: var(--container-max);
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.kontakt-form-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.kontakt-form-card .contact-form {
    max-width: none;
}

.kontakt-form-title {
    font-family: var(--font-headline);
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.kontakt-form-intro {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

/* Line-style inputs */
.form-group-line input {
    border: none;
    border-bottom: 2px solid var(--color-surface-variant);
    border-radius: 0;
    padding: 0.875rem 0;
    background: transparent;
    font-weight: 300;
    transition: border-color var(--transition-base);
}

.form-group-line input:focus {
    border-bottom-color: var(--color-primary);
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.form-group-line input::placeholder {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.kontakt-form-card textarea {
    border: 1px solid var(--color-surface-variant);
    border-radius: 6px;
    min-height: 180px;
    padding: var(--spacing-sm);
    font-weight: 300;
}

.kontakt-form-card textarea::placeholder {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* Contact info sidebar */
.kontakt-info {
    padding-top: var(--spacing-md);
}

.kontakt-detail {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.kontakt-detail-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    margin-top: 0.15rem;
}

.kontakt-detail strong {
    display: block;
    font-family: var(--font-headline);
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kontakt-detail p {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.6;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: var(--color-error);
}

.field-error {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-error);
    margin-top: 0.25rem;
}

.form-group-checkbox {
    margin-bottom: var(--spacing-md);
}

.form-group-checkbox label {
    display: inline;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.6;
}

.form-group-checkbox input[type="checkbox"] {
    width: 14px !important;
    height: 14px !important;
    margin-right: 0.4rem;
    vertical-align: middle;
    -webkit-appearance: none;
    appearance: none;
    border: 1.5px solid var(--color-border);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 0;
}

.form-group-checkbox input[type="checkbox"]:checked {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.form-group-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: 600;
}

.required-star {
    color: var(--color-secondary);
    font-size: 1.1em;
    font-weight: 600;
}

/* ==========================================================================
   Newsletter CTA Section — Dark overlay with background image
   ========================================================================== */

.newsletter-cta {
    position: relative;
    padding: 3.5rem 0;
    overflow: hidden;
    background: var(--color-primary);
}

.newsletter-cta__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

.newsletter-cta__bg--fallback {
    background: var(--color-primary-dark);
    opacity: 0.5;
}

.newsletter-cta__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-cta__title {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.newsletter-cta__title em,
.newsletter-cta__title i {
    color: #e8a07a;
    font-style: italic;
}

.newsletter-cta__text {
    font-size: 1.25rem;
    font-weight: 300;
    color: #b8e4ec;
    line-height: 1.65;
    margin-bottom: var(--spacing-lg);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Label above title */
.newsletter-cta__label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--spacing-sm);
}

.newsletter-cta__label::before,
.newsletter-cta__label::after {
    content: '';
    width: 3rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
}

.newsletter-cta__form {
    max-width: 640px;
    margin: 0 auto;
}

/* Name + Email side by side */
.newsletter-cta__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.newsletter-cta__input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: border-color var(--transition-base);
}

.newsletter-cta__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8125rem;
}

.newsletter-cta__input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
    border-color: rgba(255, 255, 255, 0.6);
}

/* Privacy checkbox */
.newsletter-cta__privacy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.newsletter-cta__privacy input[type="checkbox"] {
    flex-shrink: 0;
    margin: 0;
    width: 16px;
    height: 16px;
    -webkit-appearance: none;
    appearance: none;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.newsletter-cta__privacy input[type="checkbox"]:checked {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.newsletter-cta__privacy input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: 600;
}

.newsletter-cta__privacy a {
    color: var(--color-white);
    text-decoration: underline;
}

.newsletter-cta__privacy a:hover {
    color: var(--color-white);
}

.newsletter-cta__privacy .required-star {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    font-size: 1em;
}

.cf-turnstile {
    display: flex;
    justify-content: center;
    margin: var(--spacing-sm) 0;
}

.contact-form .cf-turnstile {
    justify-content: flex-start;
}

/* Submit button — outline style centered */
.newsletter-cta__btn {
    display: block;
    margin: 0 auto;
    padding: 1rem 3rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-cta__btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}

.newsletter-message {
    max-width: 500px;
    margin: 0 auto var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
}

.newsletter-message-success {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.newsletter-message-error {
    background: rgba(255, 120, 80, 0.12);
    color: #ffcab5;
    border: 1px solid rgba(255, 150, 120, 0.25);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Newsletter Confirmation Page
   ========================================================================== */

.confirmation-hero {
    padding: var(--spacing-2xl) 0 12rem;
    background: var(--color-surface);
}

.confirmation-icon {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

.confirmation-title {
    font-family: var(--font-headline);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.confirmation-divider {
    margin: var(--spacing-sm) auto var(--spacing-md);
}

.confirmation-text {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-text-light);
    max-width: 560px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.7;
}

.confirmation-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}
