/* TINO – Super New Design | Rohrreinigung & Klempner Berlin & Brandenburg */

:root {
    --bg: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255,255,255,0.9);
    --text: #1e293b;
    --text-soft: #64748b;
    --accent: #005586;
    --accent-light: #0077b3;
    --accent-glow: rgba(0,85,134,0.3);
    --accent-2: #00497e;
    --border: rgba(0,0,0,0.08);
    --font: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link { display: flex; align-items: center; }
.logo-img { display: block; object-fit: contain; }
.logo-desktop {
    width: 180px;
    height: 48px;
    display: none;
}
.logo-mobile {
    width: 52px;
    height: 52px;
}
@media (min-width: 769px) {
    .logo-desktop { display: block; }
    .logo-mobile { display: none; }
}
@media (max-width: 768px) {
    .logo-mobile { width: 48px; height: 48px; }
}

.nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.nav-sep {
    width: 1px;
    height: 1.25rem;
    background: var(--border);
    flex-shrink: 0;
    margin: 0 0.25rem;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav a:hover { color: var(--accent); }

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 700;
}
.nav-cta:hover { opacity: 0.9; text-decoration: none; box-shadow: 0 0 30px var(--accent-glow); }

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-btn span { width: 22px; height: 2px; background: var(--text); }

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.75rem;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid var(--border);
}
.nav-mobile a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav-mobile a.nav-group-start { border-top: 1px solid var(--border); margin-top: 0.25rem; padding-top: 0.75rem; }
.nav-mobile a[href^="tel:"] { color: var(--accent); font-weight: 700; border-top: 1px solid var(--border); margin-top: 0.25rem; padding-top: 0.75rem; }

@media (max-width: 900px) {
    .nav { display: none; }
    .menu-btn { display: flex; }
    .site-header.is-open .nav-mobile { display: flex; }
}

/* ===== Hero: Bold ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0,85,134,0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0,73,126,0.08), transparent),
        radial-gradient(ellipse 50% 50% at 0% 80%, rgba(0,85,134,0.06), transparent);
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1608094920051-d3a31d5db8db?w=1920&q=60') center/cover;
    opacity: 0.4;
}

.hero .wrap {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    color: var(--text-soft);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-desc {
    color: var(--text-soft);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-phone {
    display: inline-block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 2rem;
    text-shadow: 0 0 40px var(--accent-glow);
}
.hero-phone:hover { text-decoration: underline; }

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero-btns .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff !important;
    border: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 40px var(--accent-glow); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-whatsapp {
    background: #25D366;
    color: #fff !important;
    border: none;
}
.btn-whatsapp:hover { filter: brightness(1.08); box-shadow: 0 10px 40px rgba(37, 211, 102, 0.35); }

.icon-wa {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}
.hero-btns .btn-icon-only {
    padding: 1rem;
    min-width: 3.25rem;
}
.cta-btn.cta-btn-icon-only {
    padding: 1.25rem 1.5rem;
}
.cta-btn.cta-btn-icon-only .icon-wa {
    width: 1.75rem;
    height: 1.75rem;
}
.floating-cta a.floating-cta-wa .icon-wa {
    width: 1.5rem;
    height: 1.5rem;
}
.floating-cta a.floating-cta-wa {
    padding: 1rem;
    min-width: 3rem;
}

/* Floating CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.floating-cta a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    box-shadow: 0 4px 30px var(--accent-glow);
    transition: all 0.3s;
}
.floating-cta a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 40px var(--accent-glow);
}
.floating-cta a.floating-cta-wa {
    background: #25D366;
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.35);
}
.floating-cta a.floating-cta-wa:hover {
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.45);
}

@media (max-width: 600px) {
    .floating-cta { bottom: 1.5rem; right: 1.5rem; }
    .floating-cta a { padding: 0.875rem 1.25rem; font-size: 0.9375rem; }
}

/* ===== Sections ===== */
.section { padding: 5rem 0; }

/* Anker-Ziele: Abstand nach oben für fixen Header beim Klick (Leistungen, Auf einen Blick, FAQ, Kontakt) */
#leistungen, #blick, #faq, #kontakt, #kontakt-formular {
    scroll-margin-top: 5.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.section-lead {
    color: var(--text-soft);
    margin-bottom: 2.5rem;
}

/* Intro */
.section-intro { background: transparent; }

.intro-text p {
    color: var(--text-soft);
    margin-bottom: 1.25rem;
}

/* Stats ===== */
.section-stats { background: #fff; border: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,0.06); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stats-grid .stat-num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.25rem;
    display: block;
    line-height: 1.1;
}

.stats-grid .stat-txt {
    font-size: 0.875rem;
    color: var(--text-soft);
    display: block;
    text-align: center;
}

@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Leistungen: Glass Cards ===== */
.section-leistungen { background: transparent; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,85,134,0.4);
    box-shadow: 0 20px 60px rgba(0,85,134,0.15);
}

.service-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.service-card-body { padding: 2rem; }

.service-card-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.service-card-body p {
    color: var(--text-soft);
    margin-bottom: 1rem;
}

.service-card-body .link {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}
.service-card-body .link:hover { text-decoration: underline; }

@media (max-width: 640px) { .cards-grid { grid-template-columns: 1fr; } }

/* Benefits ===== */
.section-benefits {
    background: #fff;
    border-top: 1px solid var(--border);
}

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

.benefits-list { list-style: none; }

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-soft);
    border-bottom: 1px solid var(--border);
}

.benefits-list li:last-child { border-bottom: none; }

.benefits-list li::before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 20px var(--accent-glow);
}

.benefits-img {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

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

@media (max-width: 900px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .benefits-img { order: -1; }
}

/* CTA ===== */
.section-cta {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,85,134,0.15) 0%, rgba(0,73,126,0.1) 100%);
    pointer-events: none;
}

.section-cta .wrap { position: relative; z-index: 1; }

.section-cta .section-title { color: var(--text); }

.cta-phone {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-phone a {
    color: var(--accent);
    text-decoration: none;
    text-shadow: 0 0 40px var(--accent-glow);
}
.cta-phone a:hover { text-decoration: underline; }

.cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.cta-btn {
    display: inline-block;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s;
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 50px var(--accent-glow);
}
.cta-btn.cta-btn-wa {
    background: #25D366;
}
.cta-btn.cta-btn-wa:hover {
    box-shadow: 0 10px 50px rgba(37, 211, 102, 0.4);
}

/* Region ===== */
.section-region { background: transparent; }

/* FAQ ===== */
.section-faq { background: #fff; border-top: 1px solid var(--border); }

.faq-list { list-style: none; }

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

.faq-item:last-child { border-bottom: none; }

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: color 0.2s;
}

.faq-trigger:hover { color: var(--accent); }

.faq-trigger::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s;
}

.faq-item.is-open .faq-trigger::after { transform: rotate(45deg); }

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-content { max-height: 500px; }

.faq-content-inner {
    padding-bottom: 1.25rem;
    color: var(--text-soft);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Footer ===== */
.site-footer {
    background: #e2e8f0;
    border-top: 1px solid var(--border);
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-name { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }

.footer-col p {
    font-size: 0.9375rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text);
    text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p { font-size: 0.875rem; color: var(--text); }

@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

/* Standort-Subpages: kleinerer Hero */
.hero-sub { min-height: 60vh; padding: 7rem 0 4rem; }
.hero-sub .wrap { padding-left: 1rem; padding-right: 1rem; }
.hero-sub h1 {
    font-size: clamp(1.75rem, 8vw, 3rem);
    line-height: 1.15;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.hero-sub .hero-tagline {
    font-size: clamp(0.9375rem, 2.5vw, 1.75rem);
}
.breadcrumb-hero { font-size: 0.875rem; color: rgba(255,255,255,0.8); margin-bottom: 1rem; }
.breadcrumb-hero a { color: #fff; text-decoration: none; }
.breadcrumb-hero a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .hero-sub { padding: 6rem 0 3rem; min-height: 50vh; }
    .hero-sub h1 { font-size: 1.5rem; }
    .hero-sub .hero-tagline { font-size: 0.875rem; }
}

/* Standorte-Sektion unter Hero */
.section-standorte { padding: 4rem 0 5rem; background: var(--bg); }
.wrap-narrow { max-width: 720px; }
.standorte-intro { margin-bottom: 2rem; color: var(--text-soft); font-size: 1rem; line-height: 1.7; }
.standorte-intro p { margin-bottom: 1rem; }
.standorte-intro p:last-child { margin-bottom: 0; }
.standorte-title { font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 1.25rem; }
.standorte-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; margin-bottom: 2rem; }
.standorte-card { display: block; padding: 1rem 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; color: var(--accent); font-weight: 600; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.standorte-card:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(0,85,134,0.12); }
.standorte-back { margin: 0; }
.back-link { font-weight: 600; color: var(--accent); text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* ===== Kontaktformular (auf jeder Seite) ===== */
.section-contact-form {
    background: #fff;
    border-top: 1px solid var(--border);
}
.contact-form-inner {
    max-width: 560px;
    margin: 0 auto;
}
.contact-form-inner .section-title { margin-bottom: 0.5rem; }
.contact-form-inner .section-lead { margin-bottom: 1.5rem; }
.contact-form .form-row {
    margin-bottom: 1.25rem;
}
.contact-form label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
}
.contact-form label .optional { font-weight: 400; color: var(--text-soft); }
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.contact-form select {
    cursor: pointer;
    appearance: auto;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
}
.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}
.contact-form .form-submit {
    margin-top: 1.5rem;
}
.contact-form .form-submit button,
.contact-form .form-submit .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s;
}
.contact-form .form-submit button:hover,
.contact-form .form-submit .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}
.contact-form .form-feedback {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: var(--text-soft);
    display: none;
}
.contact-form .form-feedback.is-visible { display: block; }
.contact-form .form-feedback.is-success { color: var(--accent); }
.contact-form .form-feedback.is-error { color: #dc2626; }
