/* ──────────────────────────────────────────────────────────────────────────
   pages.css – Seitenspezifische Styles
   ────────────────────────────────────────────────────────────────────────── */

/* ── Hero (Startseite) – cinematisch ────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: radial-gradient(ellipse at center top, #1f2049 0%, #0D0D1F 60%, #050510 100%);
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 0 4rem;
    text-align: center;
}
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    animation: float 12s ease-in-out infinite;
}
.hero::before {
    top: -10%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.35) 0%, transparent 70%);
}
.hero::after {
    bottom: -20%; left: -10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.25) 0%, transparent 70%);
    animation-delay: -6s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(40px, -30px) scale(1.08); }
}
.hero__content {
    position: relative;
    max-width: 1000px;
    padding: 0 2rem;
    z-index: 1;
}
.hero h1 {
    color: white;
    margin: 0 0 1.5rem;
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(180deg, #ffffff 0%, #b8c4d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero__subline {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.hero__lead {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    color: rgba(255,255,255,0.75);
    margin: 0 auto 3rem;
    max-width: 680px;
    line-height: 1.6;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}
.hero__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
    justify-content: center;
}
.hero__contact a { color: rgba(255,255,255,0.75); }
.hero__contact a:hover { color: var(--color-accent); }
.hero__contact span { display: inline-flex; align-items: center; gap: 0.5rem; }

/* Scroll-Indikator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2.4s ease-in-out infinite;
    text-decoration: none;
}
.scroll-indicator:hover { color: white; }
.scroll-indicator::after {
    content: '';
    display: block;
    width: 1px; height: 32px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    margin: 0.5rem auto 0;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

/* ── Chapter-Sektionen (Apple-Style Full-Bleed) ─────────────────────────── */
.chapter {
    padding: clamp(5rem, 12vw, 10rem) 0;
    position: relative;
    overflow: hidden;
}
.chapter--dark { background: #050510; color: white; }
.chapter--dark h2 { color: white; }
.chapter--dark .chapter__lead { color: rgba(255,255,255,0.7); }
.chapter--light { background: #fafafa; }
.chapter--white { background: white; }

.chapter__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
@media (max-width: 900px) {
    .chapter__grid { grid-template-columns: 1fr; gap: 3rem; }
}
.chapter--reverse .chapter__media { order: 2; }
@media (max-width: 900px) {
    .chapter--reverse .chapter__media { order: 0; }
}

.chapter__eyebrow {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
    display: block;
}
.chapter--prog  .chapter__eyebrow { color: var(--color-prog); }
.chapter--rent  .chapter__eyebrow { color: var(--color-rent); }
.chapter--print .chapter__eyebrow { color: var(--color-print); }

.chapter h2 {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.chapter__lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 540px;
}
.chapter__highlight {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 1rem 0;
}
.chapter--prog  .chapter__highlight { color: var(--color-prog); }
.chapter--rent  .chapter__highlight { color: var(--color-rent); }
.chapter--print .chapter__highlight { color: var(--color-print); }
.chapter__highlight span { font-size: 0.5em; color: var(--color-text-muted); font-weight: 600; letter-spacing: 0; }
.chapter--dark .chapter__highlight span { color: rgba(255,255,255,0.5); }

.chapter__bullets {
    margin: 1.5rem 0 2rem;
    display: grid;
    gap: 0.75rem;
}
.chapter__bullets li {
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--color-text-muted);
}
.chapter--dark .chapter__bullets li { color: rgba(255,255,255,0.75); }
.chapter__bullets li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.55em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}
.chapter--prog  .chapter__bullets li::before { background: var(--color-prog); opacity: 1; }
.chapter--rent  .chapter__bullets li::before { background: var(--color-rent); opacity: 1; }
.chapter--print .chapter__bullets li::before { background: var(--color-print); opacity: 1; }

.chapter__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    transition: gap 250ms cubic-bezier(0.16, 1, 0.3, 1);
}
.chapter__cta:hover { gap: 1rem; }
.chapter--prog  .chapter__cta { color: var(--color-prog); }
.chapter--rent  .chapter__cta { color: var(--color-rent); }
.chapter--print .chapter__cta { color: var(--color-print); }

.chapter__media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.chapter__media:hover { transform: translateY(-8px); }
.chapter__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.chapter__media:hover img { transform: scale(1.05); }
.chapter__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

/* Chapter mit eingebettetem Akzent-Gradient hinter Bild */
.chapter--prog .chapter__media { background: linear-gradient(135deg, #00B4D8 0%, #003a52 100%); }
.chapter--rent .chapter__media { background: linear-gradient(135deg, #2EC4B6 0%, #1a5e58 100%); }
.chapter--print .chapter__media { background: linear-gradient(135deg, #FF9F1C 0%, #c4720a 100%); }

/* Subpage Hero (kompakt) */
.hero--compact {
    min-height: 70vh;
    padding: 10rem 0 5rem;
    text-align: left;
    justify-content: flex-start;
}
.hero--compact .hero__content {
    max-width: var(--max-width);
    width: 100%;
    text-align: left;
    padding: 0 2rem;
    margin: 0 auto;
}
@media (max-width: 640px) { .hero--compact .hero__content { padding: 0 1rem; } }
.hero--compact h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 7vw, 5rem);
}
.hero--compact .hero__lead { margin-left: 0; margin-right: 0; }
.hero--compact .hero__subline { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 1.5rem; }

.hero--prog { background: linear-gradient(135deg, #1A1A2E 0%, #003a52 100%); }
.hero--rent {
    background:
        linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,94,88,0.75) 100%),
        url('/assets/images/hero/vermietung-hero.jpg') center/cover no-repeat;
}
.hero--print {
    background:
        linear-gradient(135deg, rgba(26,26,46,0.88) 0%, rgba(90,58,8,0.78) 100%),
        url('/assets/images/hero/3d-druck.jpg') center/cover no-repeat;
}

/* ── Leistungs-Karten (Startseite) ──────────────────────────────────────── */
.service-card { --stripe-color: var(--color-accent); }
.service-card--prog { --stripe-color: var(--color-prog); --icon-bg: rgba(0,180,216,0.1); --icon-color: var(--color-prog); }
.service-card--rent { --stripe-color: var(--color-rent); --icon-bg: rgba(46,196,182,0.1); --icon-color: var(--color-rent); }
.service-card--print { --stripe-color: var(--color-print); --icon-bg: rgba(255,159,28,0.12); --icon-color: var(--color-print); }
.service-card__price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.service-card__price strong {
    font-size: 1.5rem;
    color: var(--stripe-color);
}

/* ── About preview (Startseite) ─────────────────────────────────────────── */
/* ── Stats-Streifen ─────────────────────────────────────────────────────── */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: clamp(3rem, 8vw, 6rem) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
@media (max-width: 700px) {
    .stats { grid-template-columns: 1fr; gap: 2rem; }
}
.stat { text-align: center; }
.stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-prog) 0%, var(--color-rent) 50%, var(--color-print) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat__label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.about-preview {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}
@media (max-width: 900px) {
    .about-preview { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}
.about-preview__image {
    width: 100%;
    aspect-ratio: 1;
    max-width: 320px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-rent) 100%);
}
.about-preview__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-preview h2 { margin-bottom: 1rem; }
.about-preview p { margin-bottom: 1rem; }
.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}
@media (max-width: 900px) { .facts { justify-content: center; } }

/* ── Referenz-Karten ────────────────────────────────────────────────────── */
.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 900px) { .references-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .references-grid { grid-template-columns: 1fr; } }
.reference-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 500ms cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    color: inherit;
}
.reference-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.18);
}
.reference-card__image {
    aspect-ratio: 16 / 10;
    background: #1A1A2E center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    padding: 1rem;
    text-align: center;
    overflow: hidden;
}
.reference-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.reference-card:hover .reference-card__image img { transform: scale(1.04); }
.reference-card__body { padding: 1.5rem; }
.reference-card__body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.reference-card__body p { font-size: 0.95rem; margin-bottom: 1rem; }

/* Wechselnde Zweispalter (Programmierung) */
.reference-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}
.reference-row:nth-child(even) .reference-row__image { order: 2; }
@media (max-width: 900px) {
    .reference-row { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
    .reference-row:nth-child(even) .reference-row__image { order: 0; }
}
.reference-row__image {
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-card);
    background: #1A1A2E;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.reference-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.reference-row h3 { margin-bottom: 0.75rem; }
.reference-row p { margin-bottom: 1rem; }
.reference-row ul.checklist { margin-bottom: 1.5rem; }
.reference-row ul.checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.4rem;
    color: var(--color-text-muted);
}
.reference-row ul.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-prog);
    font-weight: 700;
}

/* ── Vorteile-Streifen ──────────────────────────────────────────────────── */
.benefits {
    background: white;
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 900px) { .benefits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .benefits__grid { grid-template-columns: 1fr; } }
.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}
.benefit__icon {
    width: 48px; height: 48px;
    color: var(--color-accent);
}
.benefit__icon svg { width: 100%; height: 100%; }
.benefit h4 { font-size: 1rem; }
.benefit p { font-size: 0.9rem; margin: 0; }

/* ── Preis-Karten (Vermietung) ──────────────────────────────────────────── */
.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.price-card {
    background: white;
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-top: 4px solid var(--color-rent);
}
.price-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.price-card__price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-rent);
    margin: 1rem 0 0.25rem;
    line-height: 1;
}
.price-card__price span {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 500;
}
.price-card__sub {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.price-note {
    margin-top: 2rem;
    padding: 1rem 1.5rem;
    background: rgba(46, 196, 182, 0.08);
    border-left: 4px solid var(--color-rent);
    border-radius: 8px;
    color: var(--color-text);
    font-weight: 500;
}

/* ── Preisrechner ───────────────────────────────────────────────────────── */
.calculator {
    background: white;
    border-radius: var(--radius-card);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    max-width: 720px;
    margin: 0 auto;
}
.calculator h3 { margin-bottom: 1.5rem; text-align: center; }
.calculator__result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--color-bg);
    border-radius: var(--radius-btn);
    text-align: center;
}
.calculator__result-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-rent);
    line-height: 1;
}
.calculator__result-detail {
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* ── Produkt-Modelle ────────────────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products-grid { grid-template-columns: 1fr; } }

.product-card {
    background: white;
    border-radius: var(--radius-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.product-card__image {
    aspect-ratio: 4 / 3;
    background: #f4f6f8;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    transition: transform var(--transition);
}
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.product-card__volume {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-rent);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.product-card__specs {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* ── Kontakt 2-spaltig ──────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .contact-grid__form { order: -1; }
}
.contact-info ul { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-info li svg {
    width: 22px; height: 22px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.contact-info li strong { display: block; color: var(--color-text); }
.contact-info li span { color: var(--color-text-muted); }

/* ── 3D-Druck Webshop Banner ────────────────────────────────────────────── */
.shop-banner {
    background: linear-gradient(135deg, #FF9F1C 0%, #f37120 100%);
    color: white;
    padding: 4rem 2.5rem;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.shop-banner::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.shop-banner > * { position: relative; }
.shop-banner__logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.shop-banner h2 { color: white; margin-bottom: 1rem; }
.shop-banner p { color: rgba(255,255,255,0.95); max-width: 600px; margin: 0 auto 2rem; }
.shop-banner .btn {
    background: white;
    color: var(--color-print);
}
.shop-banner .btn:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

/* ── Legal-Seiten ───────────────────────────────────────────────────────── */
.legal {
    padding: 8rem 0 5rem;
    max-width: 800px;
}
.legal h1 { margin-bottom: 2rem; }
.legal h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.legal h3 { margin: 1.5rem 0 0.75rem; font-size: 1.15rem; }
.legal p, .legal ul { margin-bottom: 1rem; color: var(--color-text); }
.legal ul { padding-left: 1.5rem; list-style: disc; }
.legal a { word-break: break-word; }

/* ── Über mich ──────────────────────────────────────────────────────────── */
.about-hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, #F8F9FA 0%, #fff 100%);
    text-align: center;
}
.about-hero__image {
    width: 220px; height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-rent) 100%);
}
.about-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-text {
    max-width: 720px;
    margin: 0 auto;
}
.about-text p { margin-bottom: 1.25rem; color: var(--color-text); }
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 2.5rem 0;
}
.skills .badge { font-size: 0.95rem; padding: 0.5rem 1.1rem; }
