﻿/* ============================================
   SERVICE-TEMPLATE - Spenglerei Peters
   iOS 26 Liquid Glass Design System
   Breakpoints: 360 / 480 / 640 / 768 / 1024 / 1280
   ============================================ */

/* Tokens loaded from tokens.css */

.sp-folie * { box-sizing: border-box; }
.sp-folie { font-family: var(--sp-font-body); color: var(--sp-ink); line-height: 1.6; }
.sp-folie h1, .sp-folie h2, .sp-folie h3 { font-family: var(--sp-font-heading); font-weight: 700; }
.sp-folie img { display: block; max-width: 100%; height: auto; }
.sp-folie a:not(.sp-folie-cta__phone):not(.sp-folie-bottom__btn):not(.sp-folie-bottom__phone) { color: var(--sp-blue); text-decoration: none; }

/* ---------- NAV + FOOTER (force same look as "Über uns") ---------- */
body.ts-service-template .header.header-standard.navbar-sticky {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 0 !important;
}

body.ts-service-template .header.header-standard.navbar-sticky .navbar {
    background: transparent !important;
}

body.ts-service-template .header.header-standard.navbar-sticky .navbar-nav > li > a,
body.ts-service-template .header.header-standard.navbar-sticky .navbar-nav .nav-link {
    color: #222 !important;
    font-family: 'Manrope', 'DM Sans', system-ui, sans-serif !important;
}

body.ts-service-template .header.header-standard.navbar-sticky .navbar,
body.ts-service-template .header.header-standard.navbar-sticky .navbar * {
    font-family: 'Manrope', 'DM Sans', system-ui, sans-serif !important;
}

body.ts-service-template .ts-footer,
body.ts-service-template .ts-footer.solid-bg-two,
body.ts-service-template .ts-footer-classic {
    background: #f8f9fa !important;
    color: #1a1c1e !important;
    border-top: 0 !important;
}

body.ts-service-template .ts-footer a {
    color: var(--sp-blue) !important;
}

body.ts-service-template .ts-footer a:hover {
    color: var(--sp-blue-dark) !important;
}

body.ts-service-template .ts-footer,
body.ts-service-template .ts-footer *,
body.ts-service-template .copy-right,
body.ts-service-template .copy-right * {
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif !important;
}

.sp-folie-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- HERO ---------- */
.sp-folie-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 620px;
    padding: 120px 32px 100px;
    overflow: hidden;
    background: var(--sp-ink);
}

.sp-folie-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.sp-folie-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-folie-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.45) 50%,
        rgba(0,0,0,0.55) 100%
    );
}

.sp-folie-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
}

.sp-folie-hero__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 36px;
}

.sp-folie-hero__icon .material-symbols-outlined {
    font-size: 32px;
    color: #fff;
}

.sp-folie-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 20px;
}

.sp-folie-hero__sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255,255,255,0.75);
    margin: 0 auto;
    max-width: 520px;
    font-weight: 400;
}

.sp-folie-hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.sp-folie-hero__scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 12px;
    position: relative;
}

.sp-folie-hero__scroll span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: sp-hero-scroll 2s ease-in-out infinite;
}

@keyframes sp-hero-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50%      { transform: translateX(-50%) translateY(8px); opacity: 0.4; }
}

/* ---------- SECTIONS ---------- */
.sp-folie-section {
    padding: 80px 0;
}

.sp-folie-section--alt {
    background: var(--sp-surface);
}

.sp-folie-section__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.sp-folie-section__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.sp-folie-section h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    color: var(--sp-ink);
}

.sp-folie-section__lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--sp-ink-soft);
    margin: 0;
}

/* ---------- INVERTED SECTION (Dark/Blue BG) ---------- */
.sp-folie-section--inverted {
    background: linear-gradient(180deg, #005bb5 0%, #003d7a 50%, #1a1c1e 100%);
    color: #fff;
}
.sp-folie-section--inverted .sp-folie-section__eyebrow { color: var(--sp-blue-tint); }
.sp-folie-section--inverted .sp-folie-section h2,
.sp-folie-section--inverted .sp-folie-section__head h2 { color: #fff; }
.sp-folie-section--inverted .sp-folie-section__lead { color: rgba(255,255,255,0.9); }
.sp-folie-section--inverted .sp-folie-leistung,
.sp-folie-section--inverted .sp-folie-mat {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.sp-folie-section--inverted .sp-folie-leistung__text { color: #fff; }
.sp-folie-section--inverted .sp-folie-mat h3 { color: #fff; }
.sp-folie-section--inverted .sp-folie-mat p { color: rgba(255,255,255,0.85); }
.sp-folie-section--inverted .sp-folie-leistung__check { background: var(--sp-blue-tint); color: var(--sp-blue-dark); }
.sp-folie-section--inverted .sp-folie-mat__icon { background: var(--sp-blue-tint); }
.sp-folie-section--inverted .sp-folie-mat__icon .material-symbols-outlined { color: var(--sp-blue-dark); }

/* ---------- INTRO ---------- */
.sp-folie-intro {
    font-size: 18px;
    line-height: 1.7;
    color: var(--sp-ink-soft);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ---------- LEISTUNGEN (Bullet Grid) ---------- */
.sp-folie-leistungen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.sp-folie-leistung {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background: var(--sp-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sp-glass-border);
    border-radius: var(--sp-radius-md);
    box-shadow: var(--sp-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-folie-leistung:hover {
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow-md);
}

.sp-folie-leistung__check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sp-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.sp-folie-leistung__check .material-symbols-outlined {
    font-size: 18px;
    font-weight: 700;
}

.sp-folie-leistung__text {
    font-size: 16px;
    font-weight: 500;
    color: var(--sp-ink);
    line-height: 1.5;
}

/* ---------- MATERIALIEN (Cards) ---------- */
.sp-folie-mats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.sp-folie-mat {
    padding: 32px 28px;
    background: var(--sp-glass-bg-heavy);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--sp-glass-border);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-md);
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sp-folie-mat:hover {
    transform: translateY(-4px);
    box-shadow: var(--sp-shadow-lg);
}

.sp-folie-mat__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--sp-blue-tint);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sp-folie-mat__icon .material-symbols-outlined {
    font-size: 28px;
    color: var(--sp-blue);
}

.sp-folie-mat h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--sp-ink);
    margin: 0 0 8px;
}

.sp-folie-mat p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--sp-ink-soft);
    margin: 0;
}

/* ---------- GALERIE ---------- */
.sp-folie-galerie {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
}

.sp-folie-galerie__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--sp-radius-md);
    box-shadow: var(--sp-shadow-md);
    background: var(--sp-surface);
}

.sp-folie-galerie__item:first-child {
    grid-row: 1 / 3;
}

.sp-folie-galerie__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sp-folie-galerie__item:hover img {
    transform: scale(1.05);
}

/* ---------- FAQ ---------- */
.sp-folie-faq {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-folie-faq__item {
    background: var(--sp-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--sp-glass-border);
    border-radius: var(--sp-radius-md);
    box-shadow: var(--sp-shadow-sm);
    overflow: hidden;
}

.sp-folie-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: transparent;
    border: 0;
    text-align: left;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    color: var(--sp-ink);
    cursor: pointer;
    transition: color 0.2s ease;
}

.sp-folie-faq__q:hover {
    color: var(--sp-blue);
}

.sp-folie-faq__q .material-symbols-outlined {
    font-size: 24px;
    color: var(--sp-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.sp-folie-faq__item.is-open .sp-folie-faq__q .material-symbols-outlined {
    transform: rotate(45deg);
}

.sp-folie-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.sp-folie-faq__a-inner {
    padding: 0 24px 22px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--sp-ink-soft);
}

.sp-folie-faq__item.is-open .sp-folie-faq__a {
    max-height: 400px;
}

/* ---------- VALUES ---------- */
.sp-folie-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1080px;
    margin: 0 auto;
}

.sp-folie-value {
    text-align: center;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--sp-radius-md);
    padding: 32px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sp-folie-value:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.sp-folie-value__icon {
    width: 56px; height: 56px; margin: 0 auto 16px;
    border-radius: 50%; background: var(--sp-blue-tint);
    display: flex; align-items: center; justify-content: center;
}

.sp-folie-value__icon .material-symbols-outlined { font-size: 28px; color: var(--sp-blue); }

.sp-folie-value h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 6px;
}

.sp-folie-value p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--sp-ink-soft);
    margin: 0;
}

/* ---------- FACTS ---------- */
.sp-folie-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.sp-folie-fact {
    text-align: center;
    padding: 16px;
}

.sp-folie-fact__number {
    font-family: var(--sp-font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--sp-blue);
    line-height: 1.1;
    margin-bottom: 4px;
}

.sp-folie-fact__label {
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--sp-ink-soft);
    margin: 0 0 12px;
}

.sp-folie-fact__icon {
    font-size: 1.5rem;
    color: var(--sp-blue-tint);
    opacity: 0.7;
}

/* ---------- BOTTOM CTA ---------- */
.sp-folie-bottom {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.sp-folie-bottom h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--sp-ink);
}

.sp-folie-bottom p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--sp-ink-soft);
    margin: 0 0 20px;
}

.sp-folie-bottom__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--sp-blue-dark);
    color: #fff;
    border-radius: 9999px;
    font-family: var(--sp-font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.sp-folie-bottom__btn:hover {
    background: #001f3f;
    color: #fff;
    transform: translateY(-2px);
}

.sp-folie-bottom__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--sp-font-heading);
    color: var(--sp-blue-dark);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.sp-folie-bottom__phone:hover { color: var(--sp-blue-dark); }

.sp-folie-bottom__hours {
    font-size: 0.875rem;
    color: var(--sp-ink-soft);
    margin: 0;
}

/* ---------- CTA ---------- */
.sp-folie-cta {
    position: relative;
    padding: 64px 48px;
    background: linear-gradient(135deg, var(--sp-blue) 0%, var(--sp-blue-dark) 100%);
    border-radius: var(--sp-radius-xl);
    box-shadow: 0 24px 60px rgba(0, 123, 255, 0.25);
    color: #fff;
    text-align: center;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
}

.sp-folie-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 60%);
    pointer-events: none;
}

.sp-folie-cta__inner {
    position: relative;
    z-index: 1;
}

.sp-folie-cta h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #fff;
}

.sp-folie-cta p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 32px;
    color: rgba(255, 255, 255, 0.92);
}

.sp-folie-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 36px;
    background: #fff;
    color: var(--sp-blue-dark);
    border-radius: 9999px;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-folie-cta__phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.sp-folie-cta__phone .material-symbols-outlined {
    font-size: 26px;
}

.sp-folie-cta__hint {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1280px) {
    .sp-folie-container { padding: 0 28px; }
}

@media (max-width: 1024px) {
    .sp-folie-hero { min-height: 500px; padding: 100px 28px 80px; }
    .sp-folie-section { padding: 64px 0; }
    .sp-folie-section h2 { font-size: 32px; }
    .sp-folie-mats { grid-template-columns: repeat(2, 1fr); }
    .sp-folie-values { grid-template-columns: repeat(2, 1fr); }
    .sp-folie-facts { grid-template-columns: repeat(2, 1fr); }
    .sp-folie-galerie { aspect-ratio: 4 / 3; }
    .sp-folie-cta { padding: 56px 40px; }
    .sp-folie-cta h2 { font-size: 30px; }
}

@media (max-width: 768px) {
    .sp-folie-container { padding: 0 20px; }
    .sp-folie-hero { min-height: 460px; padding: 80px 20px 64px; }
    .sp-folie-hero__icon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 24px; }
    .sp-folie-hero__icon .material-symbols-outlined { font-size: 28px; }
    .sp-folie-hero__scroll { bottom: 24px; }
    .sp-folie-section { padding: 56px 0; }
    .sp-folie-section__head { margin-bottom: 36px; }
    .sp-folie-section h2 { font-size: 28px; }
    .sp-folie-section__lead { font-size: 16px; }
    .sp-folie-leistungen { grid-template-columns: 1fr; gap: 12px; }
    .sp-folie-leistung { padding: 16px 20px; }
    .sp-folie-mats { grid-template-columns: 1fr; gap: 16px; }
    .sp-folie-mat { padding: 24px 22px; }
    .sp-folie-values { grid-template-columns: 1fr; gap: 24px; }
    .sp-folie-bottom { grid-template-columns: 1fr; gap: 32px; }
    .sp-folie-galerie {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        aspect-ratio: auto;
    }
    .sp-folie-galerie__item { aspect-ratio: 4 / 3; }
    .sp-folie-galerie__item:first-child { grid-row: auto; aspect-ratio: 16 / 10; }
    .sp-folie-cta { padding: 48px 28px; border-radius: var(--sp-radius-lg); }
    .sp-folie-cta h2 { font-size: 26px; }
    .sp-folie-cta p { font-size: 16px; }
    .sp-folie-cta__phone { padding: 16px 28px; font-size: 18px; }
    .sp-folie-cta__phone .material-symbols-outlined { font-size: 22px; }
}

@media (max-width: 640px) {
    .sp-folie-container { padding: 0 16px; }
    .sp-folie-hero { min-height: 400px; padding: 72px 16px 56px; }
    .sp-folie-hero__content { max-width: 100%; padding: 0 4px; }
    .sp-folie-section { padding: 48px 0; }
    .sp-folie-section h2 { font-size: 24px; }
    .sp-folie-section__lead { font-size: 15px; }
    .sp-folie-faq__q { padding: 18px 20px; font-size: 15px; }
    .sp-folie-faq__a-inner { padding: 0 20px 18px; font-size: 14px; }
}

@media (max-width: 480px) {
    .sp-folie-hero { min-height: 360px; padding: 64px 16px 48px; }
    .sp-folie-hero__icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px; }
    .sp-folie-hero__icon .material-symbols-outlined { font-size: 24px; }
    .sp-folie-hero__scroll { bottom: 20px; }
    .sp-folie-section h2 { font-size: 22px; }
    .sp-folie-leistung__text { font-size: 15px; }
    .sp-folie-facts { grid-template-columns: 1fr; gap: 12px; }
    .sp-folie-fact__number { font-size: 2.25rem; }
    .sp-folie-cta { padding: 40px 24px; }
    .sp-folie-cta h2 { font-size: 22px; }
    .sp-folie-cta p { font-size: 15px; margin-bottom: 24px; }
    .sp-folie-cta__phone { padding: 14px 24px; font-size: 16px; }
}

@media (max-width: 360px) {
    .sp-folie-hero { min-height: 320px; padding: 56px 16px 40px; }
    .sp-folie-section h2 { font-size: 20px; }
    .sp-folie-cta__phone { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .sp-folie *, .sp-folie *::before, .sp-folie *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

