/* ============================================
   EURIPIDIS PHOTOGRAPHY - STYLESHEET
   Dark & Elegant Wedding Photography
   ============================================ */

/* 1. CUSTOM PROPERTIES
   ============================================ */
:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-bg-card: #1a1a1a;
    --color-bg-card-hover: #222222;
    --color-border: #2a2a2a;
    --color-border-light: #333333;
    --color-gold: #c9a96e;
    --color-gold-light: #d4b97e;
    --color-gold-dark: #b08d50;
    --color-text: #f0f0f0;
    --color-text-secondary: #a0a0a0;
    --color-text-muted: #777777;
    --color-white: #ffffff;
    --color-overlay: rgba(10, 10, 10, 0.65);
    --color-overlay-heavy: rgba(10, 10, 10, 0.85);

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.5rem;
    --fs-hero: clamp(2.5rem, 5vw, 4.5rem);

    --lh-body: 1.7;
    --lh-heading: 1.2;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-section: clamp(4rem, 8vw, 7rem);

    --container-max: 1200px;
    --container-padding: clamp(1rem, 3vw, 2rem);
    --nav-height: 72px;

    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    --radius-sm: 4px;
    --radius-md: 8px;
}

/* 2. FONT-FACE
   ============================================ */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Regular.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Bodoni Moda';
    src: url('../fonts/BodoniModa-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* 3. RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a, button {
    -webkit-tap-highlight-color: rgba(201, 169, 110, 0.2);
}

input[type="date"] {
    color-scheme: dark;
}

body.no-scroll { overflow: hidden; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 12px 24px;
    background: var(--color-gold);
    color: var(--color-bg);
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
}
.skip-link:focus {
    top: 0;
}

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

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}
a:hover { color: var(--color-gold-light); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: var(--lh-heading);
    font-weight: 700;
}

ul, ol { list-style: none; }

/* 4. UTILITIES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: var(--container-padding);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, var(--fs-3xl));
    color: var(--color-gold);
    text-align: center;
    margin-bottom: var(--space-sm);
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: var(--space-sm) auto 0;
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; width: 60px; }
    50%      { opacity: 1;   width: 80px; }
}

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

.section-subtitle {
    font-size: var(--fs-lg);
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: var(--space-2xl);
    font-style: italic;
    font-family: var(--font-heading);
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
}

.btn--primary {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
}
.btn--primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    color: var(--color-bg);
}

.btn--outline {
    background: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}
.btn--outline:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: var(--fs-base);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.required { color: var(--color-gold); }

/* 5. HEADER / NAV
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background-color: rgba(10, 10, 10, 0.4);
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 1px 0 var(--color-border);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Legal/secondary pages: disable backdrop-filter entirely to prevent
   Safari containing-block bug that traps the fixed mobile nav menu.
   These pages have .scrolled permanently, so the opaque bg is enough.
   Uses body.page-legal instead of :has() for max browser compat. */
.page-legal .site-header.scrolled {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: var(--container-padding);
}

.nav__logo {
    display: flex;
    flex-direction: column;
    color: var(--color-gold);
    line-height: 1;
    z-index: 1001;
}
.nav__logo:hover { color: var(--color-gold-light); }
.nav__logo-img {
    height: 80px;
    width: auto;
}
.nav__logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.nav__logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-text-secondary);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
}

/* Hide mobile-only close button on desktop */
.nav__close-item {
    display: none;
}

.nav__hamburger,
.nav__hamburger::before,
.nav__hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition-base);
}
.nav__hamburger {
    position: relative;
}
.nav__hamburger::before,
.nav__hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.nav__hamburger::before { top: -7px; }
.nav__hamburger::after { top: 7px; }

.nav__toggle[aria-expanded="true"] .nav__hamburger {
    background: transparent;
}
.nav__toggle[aria-expanded="true"] .nav__hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}
.nav__link:hover,
.nav__link.active {
    color: var(--color-gold);
}
.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link--cta {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-sm);
    color: var(--color-gold);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}

/* 6. HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 20s ease-in-out infinite;
    will-change: transform;
}
@keyframes kenBurns {
    0%   { transform: scale(1)   translate(0, 0); }
    50%  { transform: scale(1.08) translate(-1%, -0.5%); }
    100% { transform: scale(1)   translate(0, 0); }
}
@media (max-width: 767px) {
    .hero__bg img {
        object-position: 15% center;
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-lg);
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero staggered reveal */
@keyframes heroReveal {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-reveal {
    opacity: 0;
    animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.3s + var(--reveal-i, 0) * 0.15s);
}

.hero__subtitle {
    font-family: 'Bodoni Moda', Georgia, serif;
    font-size: var(--fs-hero);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.03em;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
    text-wrap: balance;
    order: 0;
}
@media (max-width: 767px) {
    .hero__subtitle {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
}

.hero__title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    order: -1;
}

.hero__text {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
    font-style: italic;
    font-family: var(--font-heading);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero__actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}
.hero__actions .btn--outline {
    background: rgba(10, 10, 10, 0.4);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-text-secondary);
    animation: scrollBounce 2s infinite;
}
.hero__scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    transform: rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* 6b. TRUST BAR
   ============================================ */
.trust-bar {
    background-color: var(--color-bg-card);
    padding: 1.4rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-bar-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.3rem 1.5rem;
}

.trust-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.02em;
}

.trust-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.2rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.trust-divider {
    width: 1px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.12);
}

/* 7. PORTFOLIO
   ============================================ */
.portfolio {
    padding: var(--space-section) 0;
    background: var(--color-bg);
}

.portfolio__filters {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.portfolio__filter {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    padding: 0.65rem 1.2rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 2rem;
    cursor: pointer;
    transition: all var(--transition-base);
}
.portfolio__filter:hover,
.portfolio__filter.active {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(201, 169, 110, 0.1);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xs);
    grid-auto-flow: dense;
}

.portfolio__item {
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
}
.portfolio__item[data-orientation="portrait"] {
    grid-row: span 2;
}

.portfolio__item.hidden {
    display: none;
}

.portfolio__link {
    display: block;
    position: relative;
    overflow: hidden;
}

.portfolio__img {
    width: 100%;
    height: auto;
    aspect-ratio: attr(width) / attr(height);
    object-fit: cover;
    transition: transform var(--transition-slow), opacity var(--transition-base);
    opacity: 0;
}
/* Reserve space for lazy images before they load (prevents layout shift) */
.portfolio__item[data-orientation="landscape"] .portfolio__img {
    aspect-ratio: 400 / 267;
}
.portfolio__item[data-orientation="portrait"] .portfolio__img {
    aspect-ratio: 267 / 400;
}
.portfolio__img.loaded {
    opacity: 1;
}

.portfolio__item:hover .portfolio__img {
    transform: scale(1.05);
}

.portfolio__link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0);
    transition: background var(--transition-base);
}
.portfolio__item:hover .portfolio__link::after {
    background: rgba(10, 10, 10, 0.2);
}

/* Gold frame hover */
.portfolio__link::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 2px solid var(--color-gold);
    opacity: 0;
    z-index: 2;
    transition: opacity var(--transition-base), inset var(--transition-base);
    border-radius: var(--radius-sm);
    pointer-events: none;
}
.portfolio__item:hover .portfolio__link::before {
    opacity: 1;
    inset: 8px;
}

/* Smooth filter transition */
.portfolio__item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.portfolio__item.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.portfolio__load-more {
    display: block;
    margin: var(--space-2xl) auto 0;
}

/* 8. ABOUT
   ============================================ */
.about {
    padding: var(--space-section) 0;
    background: var(--color-bg-alt);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about__photo {
    border-radius: var(--radius-md);
    border: 2px solid var(--color-border);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.about__content p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.about__greeting {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    color: var(--color-gold);
    font-style: italic;
    margin-bottom: var(--space-md);
}

.about__signature {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-gold);
    font-size: var(--fs-lg);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

/* About: Mobile "Mehr lesen" */
.about__more {
    display: none;
}
.about__more.expanded {
    display: block;
}
.about__toggle {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
}

/* 9. SERVICES
   ============================================ */
.services {
    padding: var(--space-section) 0;
    background: var(--color-bg);
}

.pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.pillar {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
}

.pillar__image {
    position: absolute;
    inset: 0;
}
.pillar__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pillar__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.2) 100%);
}

.pillar__content {
    position: relative;
    z-index: 1;
    padding: var(--space-lg);
}

.pillar__title {
    font-size: var(--fs-xl);
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.pillar__text {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
}

.services__included-title {
    font-size: var(--fs-2xl);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: border-color var(--transition-base);
}
.service-card:hover {
    border-color: var(--color-gold-dark);
}

.service-card__icon {
    width: 40px;
    height: 40px;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}
.service-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card__title {
    font-size: var(--fs-lg);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    font-family: var(--font-heading);
}

.service-card__text {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
}

/* Hidden cards + Show More */
.services__hidden-card {
    display: none;
}
@media (max-width: 767px) {
    .services__hidden-mobile {
        display: none;
    }
}
.services__grid.services--expanded .services__hidden-card,
.services__grid.services--expanded .services__hidden-mobile {
    display: block;
}
.services__show-more {
    display: block;
    margin: var(--space-md) auto 0;
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-border-light);
    border-radius: 2rem;
    color: var(--color-text-secondary);
    font-size: var(--fs-sm);
    cursor: pointer;
    transition: border-color var(--transition-base), color var(--transition-base);
}
.services__show-more:hover {
    border-color: var(--color-gold-dark);
    color: var(--color-text);
}


/* 10. PRICING
   ============================================ */
.pricing {
    padding: var(--space-section) 0;
    background: var(--color-bg-alt);
}

.pricing__grid-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.pricing__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: var(--space-md);
    padding-top: 14px;
    padding-bottom: var(--space-xs);
}
.pricing__grid::-webkit-scrollbar {
    display: none;
}

.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    position: relative;
    transition: box-shadow var(--transition-base), border-color var(--transition-base);
    display: flex;
    flex-direction: column;
    flex: 0 0 300px;
    scroll-snap-align: center;
}
@media (max-width: 1023px) {
    .pricing-card {
        padding: var(--space-xl) var(--space-md);
    }
}
.pricing-card:hover {
    border-color: var(--color-gold-dark);
    box-shadow: 0 8px 32px rgba(201, 169, 110, 0.08);
}

.pricing-card--featured {
    border-color: var(--color-gold);
    border-width: 2px;
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.15);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-gold);
    color: var(--color-bg);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.pricing-card__name {
    font-size: var(--fs-2xl);
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}

.pricing-card__ideal {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.pricing-card__price {
    text-align: center;
    margin-bottom: var(--space-md);
}
.pricing-card__ab {
    font-size: var(--fs-base);
    color: var(--color-text-secondary);
    font-weight: 400;
}
.pricing-card__price strong {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1;
}
.pricing-card__price .pricing-card__currency {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-text);
}
.pricing-card__price sup {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    vertical-align: super;
    font-weight: 400;
}

.pricing-card__hours {
    text-align: center;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.pricing-card__features {
    text-align: left;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}
.pricing-card__features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}
.pricing-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}
.pricing-card__features li strong {
    color: var(--color-text);
}
.pricing-card__features li.highlight {
    font-weight: 500;
    color: var(--color-text);
}
.pricing-card__features li.empty {
    color: var(--color-text-muted);
    opacity: 0.45;
}
.pricing-card__features li.empty::before {
    background-image: none;
    content: '—';
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    width: auto;
    height: auto;
    transform: translateY(-50%);
    opacity: 0.6;
}

.pricing-card__cta {
    width: 100%;
    margin-top: auto;
}
.pricing-card--featured .pricing-card__cta {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
}

/* Cluster groups inside pricing cards */
.pricing-card__cluster {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 0.25rem 0.6rem 0.4rem;
    margin-bottom: 0.6rem;
}
.pricing-card__cluster:last-of-type {
    margin-bottom: 0;
}
.pricing-card__cluster-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 0.4rem 0 0.1rem;
}
/* Album cluster highlight */
.pricing-card__cluster--album {
    background: rgba(201, 169, 110, 0.06);
    border-color: rgba(201, 169, 110, 0.15);
}
.pricing-card__cluster--album .pricing-card__cluster-label {
    color: var(--color-gold-dark);
}

.pricing-card__cluster ul {
    list-style: none;
}
.pricing-card__cluster ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.5;
}
.pricing-card__cluster ul li:last-child {
    border-bottom: none;
}
.pricing-card__cluster ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.pricing-card__cluster ul li strong {
    color: var(--color-text);
}
.pricing-card__cluster ul li.highlight {
    font-weight: 500;
    color: var(--color-text);
}

/* Icon variants via data-icon attribute */
li[data-icon="photos"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='14.31' y1='8' x2='20.05' y2='17.94'/%3E%3Cline x1='9.69' y1='8' x2='21.17' y2='8'/%3E%3Cline x1='7.38' y1='12' x2='13.12' y2='2.06'/%3E%3Cline x1='9.69' y1='16' x2='3.95' y2='6.06'/%3E%3Cline x1='14.31' y1='16' x2='2.83' y2='16'/%3E%3Cline x1='16.62' y1='12' x2='10.88' y2='21.94'/%3E%3C/svg%3E");
}
li[data-icon="usb"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Cpath d='M12 12h.01'/%3E%3Cpath d='M17 12h.01'/%3E%3C/svg%3E");
}
li[data-icon="album"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}
li[data-icon="box"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3C/svg%3E");
}
li[data-icon="camera"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
}
li[data-icon="clipboard"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'/%3E%3C/svg%3E");
}
li[data-icon="printer"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E");
}
li[data-icon="sun"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cline x1='12' y1='1' x2='12' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='23'/%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'/%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'/%3E%3Cline x1='1' y1='12' x2='3' y2='12'/%3E%3Cline x1='21' y1='12' x2='23' y2='12'/%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'/%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'/%3E%3C/svg%3E");
}
li[data-icon="zap"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");
}
li[data-icon="heart"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}
li[data-icon="express"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c9a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}
li[data-icon="plus"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='16'/%3E%3Cline x1='8' y1='12' x2='16' y2='12'/%3E%3C/svg%3E");
}

/* Standesamt / Essenz section */
.pricing__standesamt-section {
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
    text-align: center;
}
.pricing__standesamt-heading {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 400;
    color: var(--color-gold);
    margin-bottom: 0.375rem;
}
.pricing__standesamt-subtitle {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}
.pricing-card--compact {
    max-width: 420px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
}
.pricing-card--compact .pricing-card__name {
    font-size: var(--fs-xl);
}
.pricing-card--compact .pricing-card__price strong {
    font-size: 2.2rem;
}
.pricing__standesamt-nudge {
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    margin-top: var(--space-md);
    font-style: italic;
}
.pricing__standesamt-nudge a {
    color: var(--color-gold);
    text-decoration: none;
}
.pricing__standesamt-nudge a:hover {
    text-decoration: underline;
}

/* Optional extras box */
.pricing__optionals {
    max-width: 1000px;
    margin: var(--space-2xl) auto 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: var(--space-lg) var(--space-2xl);
    text-align: center;
}
.pricing__optionals-title {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}
.pricing__optionals-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}
.pricing__optionals-item {
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.pricing__optionals-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke: var(--color-gold-dark);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pricing__optionals-item .price-tag {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* 11. FAQ
   ============================================ */
.faq {
    padding: var(--space-section) 0;
    background: var(--color-bg);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq__question {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    color: var(--color-text);
    padding: var(--space-md) 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: color var(--transition-fast);
}
.faq__question:hover { color: var(--color-gold); }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { display: none; content: ""; }

.faq__question::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    transform: rotate(45deg);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

details[open] .faq__question::after {
    transform: rotate(-135deg);
}

.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-base);
}
details[open] .faq__answer {
    grid-template-rows: 1fr;
}
.faq__answer-inner {
    overflow: hidden;
}
.faq__answer-inner p {
    color: var(--color-text-secondary);
    padding-bottom: var(--space-md);
    font-size: var(--fs-sm);
}

/* 12. CONTACT
   ============================================ */
.contact {
    padding: var(--space-section) 0;
    background: var(--color-bg-alt);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

.contact__info p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact__detail-row {
    display: flex;
    gap: var(--space-lg);
}

.icon-social {
    width: 1em;
    height: 1em;
    vertical-align: -0.1em;
    margin-right: 0.3em;
}

.contact__detail strong {
    display: block;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}

.contact__detail a,
.contact__detail p {
    color: var(--color-text);
    font-size: var(--fs-base);
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    transition: border-color var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group select {
    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='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.form-group select option {
    background: var(--color-bg-card);
    color: var(--color-text);
}

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

.checkbox-label {
    display: flex;
    gap: var(--space-xs);
    align-items: flex-start;
    cursor: pointer;
    font-size: var(--fs-sm);
    line-height: 1.5;
    color: var(--color-text-secondary);
}
.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 0.2rem;
    accent-color: var(--color-gold);
    flex-shrink: 0;
}

/* 2-stage form: mobile toggle for optional fields */
.form-details {
    display: none;
}
.form-details.expanded {
    display: contents;
}
.form-details-toggle {
    text-align: center;
    padding-top: var(--space-xs);
}
.form-details__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.2rem;
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    font-family: inherit;
}
.form-details__btn:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
}
.form-details__chevron {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}
.form-details__btn[aria-expanded="true"] .form-details__chevron {
    transform: rotate(180deg);
}

.contact__note {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    text-align: center;
    margin-top: var(--space-sm);
}

.contact__success {
    display: none;
    text-align: center;
    padding: var(--space-2xl);
}
.contact__success.show { display: block; }
.contact__success h3 {
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

/* Honeypot — unsichtbar */
.form-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

/* Erfolgs-Overlay nach Submit */
.form-success {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    grid-column: 1 / -1;
    animation: formFadeIn 0.5s ease;
}
.form-success__icon {
    font-size: 4rem;
    color: var(--color-gold);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border: 3px solid var(--color-gold);
    border-radius: 50%;
    margin: 0 auto var(--space-lg);
}
.form-success h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}
.form-success p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    font-size: var(--fs-base);
}
@keyframes formFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fehlermeldung */
.form-error {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
    font-size: var(--fs-sm);
}

/* Button Loading State */
.btn--loading {
    opacity: 0.6;
    pointer-events: none;
    cursor: wait;
}

/* 13. FOOTER
   ============================================ */
.footer {
    padding: var(--space-2xl) 0 calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.footer__logo {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.footer__tagline {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.footer h4 {
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 600;
}

.footer p,
.footer a {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    line-height: 1.8;
}
.footer a:hover { color: var(--color-gold); }

.footer__social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xs);
}

.footer__social a {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}

.footer__links nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer__links nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}

.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
    text-align: center;
}
.footer__bottom p {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

/* 14. LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: opacity 0.4s ease, visibility 0.4s;
}
.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
}
.lightbox.active .lightbox__img {
    transform: scale(1);
    opacity: 1;
}
/* Direction-aware slide */
.lightbox__img.slide-left {
    transform: translateX(-20px);
    opacity: 0;
}
.lightbox__img.slide-right {
    transform: translateX(20px);
    opacity: 0;
}

.lightbox__close {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 1rem);
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), background var(--transition-fast);
    z-index: 10;
}
.lightbox__close:hover { color: var(--color-gold); }

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem;
    transition: color var(--transition-fast);
}
.lightbox__nav:hover { color: var(--color-gold); }
.lightbox__nav:active {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}
.lightbox__prev { left: 0.5rem; }
.lightbox__next { right: 0.5rem; }

.lightbox__counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-secondary);
    font-size: var(--fs-sm);
}

/* 15. LEGAL PAGES
   ============================================ */
.legal-page {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    padding-bottom: var(--space-section);
    min-height: 100vh;
}

.legal-page h1 {
    font-size: var(--fs-3xl);
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
    overflow-wrap: break-word;
}

.legal-page h2 {
    font-size: var(--fs-xl);
    color: var(--color-text);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-sm);
}

.legal-page h3 {
    font-size: var(--fs-lg);
    color: var(--color-text);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xs);
}

.legal-page h4 {
    font-size: var(--fs-base);
    color: var(--color-gold-dark);
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}

.legal-page p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.legal-page ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
}

.legal-page a {
    word-break: break-word;
}

.legal-page .last-updated {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

/* 15b. TESTIMONIALS
   ============================================ */
.testimonials {
    padding: var(--space-section) 0;
    background: var(--color-bg);
}

/* Mobile: Horizontal Scroll-Snap Carousel */
.testimonials__grid {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-xs);
}
.testimonials__grid::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    position: relative;
    flex: 0 0 85%;
    scroll-snap-align: center;
}
.testimonial-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

/* Dot-Indicators */
.testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--space-xl);
}
.testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}
.testimonials__dot.active {
    background: var(--color-gold);
}

/* Pricing Carousel Dots */
.pricing__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
}
.pricing__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease;
}
.pricing__dot.active {
    background: var(--color-gold);
}

/* Swipe hint: floating pill with chevron on right edge (mobile/tablet only) */
@media (max-width: 1023px) {
    @keyframes swipeNudge {
        0%, 100% { transform: translateY(-50%) translateX(0); }
        50%      { transform: translateY(-50%) translateX(5px); }
    }
    .pricing__swipe-hint {
        position: absolute;
        right: 4px;
        top: 38%;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(201, 169, 110, 0.15);
        border: 1px solid rgba(201, 169, 110, 0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
        z-index: 5;
        animation: swipeNudge 1.2s ease-in-out infinite;
        transition: opacity 0.4s ease;
    }
    .pricing__swipe-hint svg {
        width: 16px;
        height: 16px;
        stroke: var(--color-gold);
        stroke-width: 2.5;
    }
    .pricing__swipe-hint.hidden {
        opacity: 0;
    }
}

.testimonial-card::before {
    content: '\201E';
    position: absolute;
    top: 0.3rem;
    left: 0.8rem;
    font-size: 2rem;
    color: var(--color-gold);
    opacity: 0.2;
    font-family: var(--font-heading);
    line-height: 1;
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
@media (hover: hover) {
    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(201, 169, 110, 0.1);
        border-color: rgba(201, 169, 110, 0.3);
    }
}

.testimonial-card__stars {
    color: var(--color-gold);
    font-size: var(--fs-base);
    letter-spacing: 0.1em;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible .testimonial-card__stars,
.testimonial-card__stars.stars-visible {
    clip-path: inset(0 0 0 0);
}

.testimonial-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: var(--color-text-secondary);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.testimonial-card__badge::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%234285F4' d='M43.6 20.5H42V20H24v8h11.3c-1.6 4.7-6.1 8-11.3 8-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 8 3l5.7-5.7C34 6 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.2-.1-2.3-.4-3.5z'/%3E%3Cpath fill='%2334A853' d='M6.3 14.7l6.6 4.8C14.5 15.5 18.8 12 24 12c3.1 0 5.8 1.2 8 3l5.7-5.7C34 6 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%23FBBC05' d='M24 44c5.2 0 9.9-1.9 13.4-5.1l-6.2-5.2c-2 1.5-4.5 2.3-7.2 2.3-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%23EA4335' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C36.7 39.5 44 34 44 24c0-1.2-.1-2.3-.4-3.5z'/%3E%3C/svg%3E") no-repeat center/contain;
}

.testimonial-card__text {
    color: var(--color-text-secondary);
    font-size: var(--fs-sm);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--space-xs);
}
.testimonial-card__readmore {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: var(--fs-sm);
    font-style: italic;
    cursor: pointer;
    padding: 0;
    transition: opacity var(--transition-base);
}
.testimonial-card__readmore:hover {
    opacity: 0.8;
}

.testimonial-card__link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition-base);
}
.testimonial-card__link:hover {
    text-decoration-color: var(--color-gold);
}

.testimonial-card__author {
    font-size: var(--fs-sm);
    color: var(--color-gold);
    font-weight: 500;
    margin-top: var(--space-xs);
}

.testimonials__cta {
    text-align: center;
}

/* 15c. EXTRA COMPONENT STYLES
   ============================================ */
.pillar:first-child .pillar__image img {
    object-position: center top;
}

.pricing__standesamt {
    text-align: center;
    margin-top: var(--space-2xl);
    font-style: italic;
    color: var(--color-text-secondary);
    font-size: var(--fs-base);
}
.pricing__standesamt a {
    color: var(--color-gold);
    font-weight: 500;
}

.pricing__note {
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--color-text-muted);
    font-size: var(--fs-sm);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.pricing__note strong {
    color: var(--color-text-secondary);
}

.pricing-card__features strong {
    color: var(--color-text);
}


.footer__logo-img {
    width: 100px;
    height: auto;
    margin-bottom: var(--space-xs);
}

.portfolio__item.hidden-by-loadmore {
    display: none;
}

/* 16. ANIMATIONS
   ============================================ */
.reveal {
    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);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children reveal */
.reveal-stagger.visible .reveal-child {
    opacity: 1;
    transform: translateY(0);
}
.reveal-child {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--child-i, 0) * 0.1s);
}

/* Portfolio stagger grid reveal */
.portfolio__item.stagger-in {
    animation: gridReveal 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--stagger-i, 0) * 60ms);
}
@keyframes gridReveal {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* CSS scroll-driven (progressive enhancement for Chrome/Edge) */
@supports (animation-timeline: view()) {
    .reveal-scroll {
        animation: revealOnScroll linear both;
        animation-timeline: view();
        animation-range: entry 10% entry 40%;
    }
    @keyframes revealOnScroll {
        from { opacity: 0; transform: translateY(30px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* 17. FLOATING BUTTONS
   ============================================ */
.floating-wa,
.floating-top {
    position: fixed;
    right: clamp(1rem, 3vw, 1.5rem);
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, opacity 0.3s ease, box-shadow 0.2s ease;
}

.floating-wa {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
    background: #25d366;
    color: #fff;
}
.floating-wa svg {
    width: 30px;
    height: 30px;
}
.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-top {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 5rem);
    background: var(--color-bg-card);
    color: var(--color-gold);
    border: 1px solid var(--color-border);
    opacity: 0;
    pointer-events: none;
}
.floating-top svg {
    width: 28px;
    height: 28px;
}
.floating-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.floating-top:hover {
    transform: scale(1.1);
    background: var(--color-bg-card-hover);
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
    z-index: 2001;
    width: 0%;
    pointer-events: none;
}

/* Page entrance */
.page-loading {
    opacity: 0;
}
body {
    transition: opacity 0.5s ease;
}

/* Hide floating WhatsApp when contact section is in view */
.floating-wa.at-contact {
    opacity: 0;
    pointer-events: none;
}

/* 18. MEDIA QUERIES
   ============================================ */

/* Tablet */
@media (min-width: 768px) {
    .about__more {
        display: block !important;
    }
    .about__toggle {
        display: none;
    }

    .pillars {
        grid-template-columns: 1fr 1fr;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    /* Testimonials: carousel with 2 visible cards on tablet */
    .testimonial-card {
        flex: 0 0 calc((100% - var(--space-md)) / 2);
        scroll-snap-align: start;
    }

    .contact__grid {
        grid-template-columns: 1fr 1.5fr;
    }

    .contact__form {
        grid-template-columns: 1fr 1fr;
    }
    .form-group--full {
        grid-column: 1 / -1;
    }
    .form-details {
        display: contents !important;
    }
    .form-details-toggle {
        display: none;
    }

    /* Pricing carousel stays active on tablet */

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .nav__toggle { display: none !important; }
    .nav__menu { display: flex !important; }

    .about__grid {
        grid-template-columns: 1fr 1.2fr;
    }

    .pillars {
        grid-template-columns: repeat(4, 1fr);
    }

    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .services__grid .service-card:last-child:nth-child(3n+1) {
        grid-column: 2;
    }
    .services__hidden-card {
        display: block !important;
    }
    .services__show-more {
        display: none;
    }

    /* Testimonials: carousel with 3 visible cards on desktop */
    .testimonial-card {
        flex: 0 0 calc((100% - 2 * var(--space-md)) / 3);
        scroll-snap-align: start;
    }

    .pricing__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        overflow: visible;
        scroll-snap-type: none;
        padding-top: 0;
    }
    .pricing-card {
        flex: none;
    }
    .pricing__dots {
        display: none;
    }
    .pricing__swipe-hint {
        display: none;
    }

    .pricing-card--featured {
        transform: scale(1.05);
        z-index: 1;
    }

    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }

    .portfolio__grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Mobile nav */
@media (max-width: 1023px) {
    .nav__toggle {
        display: flex;
        align-items: center;
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
    }

    .nav__menu {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.95);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        display: none;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
    .nav__menu.open {
        display: flex;
        z-index: 2000;
    }

    /* backdrop-filter on .site-header.scrolled creates a containing block
       that traps the fixed-position menu inside the 72px header.
       Remove it when menu is open so inset:0 spans the full viewport. */
    .site-header:has(.nav__menu.open) {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .nav__close-item {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        list-style: none;
    }
    .nav__close {
        background: none;
        border: none;
        color: var(--color-text);
        font-size: 2.5rem;
        line-height: 1;
        cursor: pointer;
        padding: 0.5rem;
        transition: color var(--transition-base);
    }
    .nav__close:hover {
        color: var(--color-gold);
    }

    .nav__link {
        font-size: var(--fs-xl);
        font-family: var(--font-heading);
        color: var(--color-text);
    }

    .nav__link--cta {
        font-size: var(--fs-lg);
    }
}

/* Trust-Bar mobile */
@media (max-width: 767px) {
    .trust-bar-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        justify-items: center;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        padding: 0.4rem 0.5rem;
    }
}

/* 18. REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .hero-reveal, .reveal-child {
        opacity: 1;
        transform: none;
    }
    .testimonial-card__stars {
        clip-path: none;
    }
    .lightbox__img {
        transform: none;
        opacity: 1;
    }
}

/* 19. PRINT
   ============================================ */
@media print {
    .site-header, .hero__scroll, .lightbox,
    .portfolio__filters, .portfolio__load-more,
    .nav__toggle { display: none !important; }

    body {
        background: white;
        color: black;
    }
    .section-title { color: black; }
    a { color: black; text-decoration: underline; }
}
