/* --- annimox.de --- Farben aus Logo und Flyer */
@font-face {
    font-family: 'Oswald';
    src: url('fonts/oswald.woff2') format('woff2');
    font-weight: 400 600;
    font-display: swap;
}

:root {
    --blue: #1b91d3;
    --blue-dark: #1477b0;
    --blue-deep: #0d5f91;
    --blue-soft: #e8f4fb;
    --ink: #1e2a33;
    --text: #2d3741;
    --muted: #66727d;
    --light: #f4f8fb;
    --line: #e2e9ef;
    --green: #1f8a4c;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(17, 56, 84, 0.10);
    --shadow-strong: 0 18px 44px rgba(17, 56, 84, 0.18);
    --heading: 'Oswald', 'Arial Narrow', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: #fff; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--blue); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }

h1, h2, h3, h4 { font-family: var(--heading); font-weight: 500; line-height: 1.15; color: var(--ink); }
h2 { font-size: clamp(32px, 4.2vw, 46px); text-align: center; margin: 0 0 40px; }
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: 2.5px; font-size: 13px; font-weight: 700; color: var(--blue); margin: 0 0 8px; }
.eyebrow.light { color: rgba(255, 255, 255, 0.85); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(27, 145, 211, 0.35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { background: #fff; color: var(--blue-dark); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }
.btn-whatsapp { background: #25d366; color: #0b3d22; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }
.btn-outline { border: 2px solid rgba(255, 255, 255, 0.85); color: #fff; }
.btn-back { color: var(--blue); border: 2px solid var(--blue); padding: 10px 18px; font-size: 15px; }

/* --- Kopfleiste und Navigation --- */
.topbar { background: var(--ink); color: #cfd8df; font-size: 13.5px; }
.topbar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand img { display: block; height: 70px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font-family: var(--heading); font-size: 19px; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.nav a:hover, .nav a.active { color: var(--blue); border-color: var(--blue); }
.header-cta { padding: 11px 20px; font-size: 15px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid #cfd8df; border-radius: 10px; font-size: 22px; padding: 4px 12px; cursor: pointer; color: var(--ink); }

/* --- Hero --- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background: linear-gradient(120deg, rgba(13, 95, 145, 0.96) 0%, rgba(27, 145, 211, 0.88) 55%, rgba(27, 145, 211, 0.75) 100%), url('img/hero-bg.jpg') center / cover;
    padding-bottom: 36px;
}
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, rgba(10, 40, 60, 0.18)); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 40px; }
.hero-kicker { text-transform: uppercase; letter-spacing: 2.5px; font-size: 13px; font-weight: 700; opacity: 0.85; margin: 0 0 14px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); margin: 0 0 20px; letter-spacing: 0.2px; }
.hero h1 span { color: #bfe6ff; font-style: italic; }
.hero-sub { font-size: 19px; max-width: 580px; opacity: 0.95; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; }
.hero-visual img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 20, 40, 0.45)); animation: float 6s ease-in-out infinite; }
.hero-badge { position: absolute; right: 4%; bottom: 6%; background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 14px; font-size: 15px; line-height: 1.3; box-shadow: var(--shadow-strong); }
.hero-badge strong { color: var(--blue); font-family: var(--heading); font-size: 22px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-facts { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hero-facts li { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 16px 20px; display: flex; flex-direction: column; }
.hero-facts strong { font-size: 16.5px; }
.hero-facts span { font-size: 14.5px; opacity: 0.88; }

/* --- Leistungen (Kacheln aus dem Flyer) --- */
.services { background: var(--blue); color: #fff; padding: 80px 0; }
.services h2 { color: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { text-align: center; padding: 30px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.2); transition: transform 0.25s, background 0.25s; }
.service:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.15); }
.service img { height: 88px; width: auto; }
.service h3 { color: #fff; font-size: 23px; margin: 18px 0 0; }

/* --- Geräte im Detail --- */
.devices { padding: 84px 0; background: var(--light); }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device { background: #fff; border-radius: var(--radius); padding: 26px 26px 20px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); transition: transform 0.25s, box-shadow 0.25s; }
.device:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.device h3 { margin: 0 0 12px; font-size: 23px; }
.device ul { margin: 0; padding: 0; list-style: none; }
.device li { position: relative; padding: 5px 0 5px 24px; font-size: 15.5px; border-top: 1px solid var(--line); }
.device li:first-child { border-top: none; }
.device li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

.cta-band { display: block; text-align: center; background: linear-gradient(90deg, var(--blue-deep), var(--blue)); color: #fff; font-family: var(--heading); font-size: clamp(22px, 3vw, 32px); padding: 26px 16px; text-decoration: none; }
.cta-band:hover { filter: brightness(1.06); }

/* --- Vorteile --- */
.benefits { padding: 84px 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color 0.25s, box-shadow 0.25s; }
.benefit:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.benefit-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--blue-soft); font-size: 26px; }
.benefit h3 { font-size: 22px; margin: 14px 0 6px; }
.benefit p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* --- Ablauf --- */
.steps { padding: 84px 0; background: var(--light); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-list li { display: grid; grid-template-columns: auto auto; align-items: end; justify-content: center; gap: 4px 10px; background: #fff; border-radius: var(--radius); padding: 24px 16px; box-shadow: var(--shadow); }
.step-list .num { font-family: var(--heading); font-size: 76px; line-height: 0.85; color: var(--blue); font-weight: 600; }
.step-list img { height: 66px; width: auto; }
.step-list p { grid-column: 1 / -1; margin: 10px 0 0; font-size: 16.5px; color: var(--ink); text-align: center; }

/* --- Über mich --- */
.personal { padding: 84px 0; font-size: 17.5px; }
.personal .eyebrow, .personal h2 { text-align: left; }
.personal h2 { margin-bottom: 20px; }
.personal p { margin: 0 0 16px; }
.personal-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.portrait-wrap { margin: 0; position: relative; isolation: isolate; }
.portrait { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-strong); }
.portrait-wrap::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border-radius: 22px; background: var(--blue-soft); z-index: -1; }
.portrait-wrap figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 255, 255, 0.95); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.portrait-wrap figcaption span { color: var(--muted); font-size: 14px; }
.motto { margin: 8px 0 20px; padding: 14px 20px; border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 12px 12px 0; font-family: var(--heading); font-size: 22px; color: var(--blue-deep); }
.milestones { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.milestones li { flex: 1 1 150px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; }
.milestones strong { font-family: var(--heading); font-size: 24px; color: var(--blue); }
.milestones span { font-size: 14px; color: var(--muted); }

/* --- Nachhaltigkeit --- */
.green { padding: 80px 0; background: linear-gradient(180deg, #eef8f1, #f8fcf9); font-size: 17.5px; }
.green-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.green h2, .green .eyebrow { text-align: left; }
.green h2 { color: #1d5e37; margin-bottom: 18px; }
.green-eyebrow { color: var(--green); }
.green img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-strong); }
.green p { margin: 0 0 14px; }

/* --- Impressionen --- */
.gallery { padding: 84px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gallery-grid a { position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.gallery-grid a.wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid span { position: absolute; left: 14px; bottom: 14px; background: rgba(30, 42, 51, 0.82); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(10, 18, 25, 0.92); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 18px; cursor: pointer; }

/* --- FAQ --- */
.faq { padding: 84px 0; background: var(--light); }
.faq details { background: #fff; border-radius: 14px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(17, 56, 84, 0.06); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); position: relative; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 20px; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* --- Kontakt --- */
.contact { padding: 84px 0; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; }
.contact h2 { color: #fff; text-align: left; margin-bottom: 16px; }
.contact .eyebrow { text-align: left; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact-lead { font-size: 18px; margin: 0 0 24px; opacity: 0.95; }
.contact-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { background: #fff; color: var(--ink); text-decoration: none; border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; box-shadow: var(--shadow-strong); transition: transform 0.2s; }
.contact-card:hover { transform: translateY(-4px); }
.contact-card span { font-size: 26px; }
.contact-card strong { font-family: var(--heading); font-size: 21px; font-weight: 500; color: var(--blue-dark); }
.contact-box { font-style: normal; font-size: 17px; line-height: 1.7; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius); padding: 26px 28px; }
.contact-box a { color: #fff; }
.area-note, .pay-note, .tax-note { display: block; margin-top: 12px; font-size: 14.5px; line-height: 1.5; }
.area-note { font-weight: 700; }
.tax-note { opacity: 0.8; }

/* --- Fußzeile --- */
.footer { background: var(--ink); color: #c3ced7; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 36px; padding-top: 48px; padding-bottom: 32px; }
.footer h4 { color: #fff; font-size: 19px; margin: 0 0 10px; }
.footer p { margin: 0 0 16px; }
.footer a { color: #fff; }
.footer-logo { background: #fff; border-radius: 12px; padding: 8px 12px; height: 76px; width: auto; margin-bottom: 12px; }
.footer-links a { margin-right: 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; padding: 16px 20px; font-size: 13.5px; }
/* schlanke Fußzeile der Rechtsseiten */
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* --- Schnellleiste (nur Handy) --- */
.quickbar { display: none; }

/* --- Sanftes Einblenden --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .hero-visual img { animation: none; }
    html { scroll-behavior: auto; }
}

/* --- Rechtstexte --- */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: 38px; }
.legal h2 { text-align: left; font-size: 24px; margin: 32px 0 8px; }
.legal ul { padding-left: 22px; }
.legal-date { margin-top: 32px; color: var(--muted); }
.form-box { border: 2px dashed #b8c7d3; border-radius: 10px; padding: 8px 24px; background: var(--light); }

@media print {
    .topbar, .header, .footer, .menu-toggle, .quickbar { display: none !important; }
    .legal { padding: 0; }
    .form-box { border-color: #000; background: none; }
}

/* --- Tablet --- */
@media (max-width: 1060px) {
    .nav { gap: 16px; }
    .nav a { font-size: 17px; }
    .header-cta { display: none; }
}

@media (max-width: 920px) {
    .hero-inner, .green-inner, .contact-grid, .personal-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 520px; margin: 0 auto; }
    .device-grid, .benefit-grid, .service-grid, .step-list { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .portrait-wrap { max-width: 300px; }
}

/* --- Handy --- */
@media (max-width: 760px) {
    .menu-toggle { display: block; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .nav.open { display: flex; }
    .nav a { padding: 14px 20px; border-top: 1px solid var(--line); border-bottom: none; }
    .brand img { height: 56px; }
    .topbar-inner { justify-content: center; text-align: center; }
    .topbar-contact { display: none; }
    .hero-inner { padding-top: 40px; }
    .hero-facts, .contact-buttons { grid-template-columns: 1fr; }
    .hero-badge { font-size: 13px; }
    .hero-badge strong { font-size: 18px; }
    body { padding-bottom: 68px; }
    .quickbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08); padding-bottom: env(safe-area-inset-bottom); }
    .quickbar a { display: flex; flex-direction: column; align-items: center; padding: 8px 4px 10px; font-size: 20px; text-decoration: none; color: var(--ink); }
    .quickbar a span { font-size: 12.5px; font-weight: 700; }
    .quickbar a:first-child { background: var(--blue); color: #fff; }
    .quickbar a:first-child span { color: #fff; }
}

@media (max-width: 560px) {
    .device-grid, .benefit-grid, .service-grid, .step-list, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid a.wide { aspect-ratio: 16 / 9; }
    .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}
