/* ===================================
   Psychologische Praxis René Hähnlein
   style.css – Alle Styles
   =================================== */

:root {
    --navy-dark: #1a2744;
    --navy-medium: #2d4a6f;
    --navy-light: #4a6b8a;
    --sage-dark: #5a7d6b;
    --sage-medium: #7a9d8b;
    --sage-light: #a8c4b5;
    --sage-pale: #e8f0ec;
    --cream: #faf9f7;
    --white: #fff;
    --grey-warm: #f5f4f2;
    --grey-text: #4a4a4a;
    --grey-light: #8a8a8a;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-soft: 0 4px 20px rgba(26, 39, 68, .08);
    --shadow-medium: 0 8px 40px rgba(26, 39, 68, .12);
    --shadow-strong: 0 16px 60px rgba(26, 39, 68, .16);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition-fast: .2s ease;
    --transition-medium: .4s cubic-bezier(.4, 0, .2, 1);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body); font-weight: 400; font-size: 17px;
    line-height: 1.7; color: var(--grey-text); background: var(--cream);
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--navy-dark); line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
p { margin-bottom: 1.25em; }
a { color: var(--navy-medium); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--sage-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }

/* ─── NAVIGATION ─── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
    padding: 1rem 0; transition: all var(--transition-medium); 
    background: rgba(250, 249, 247, 0.98);
    isolation: isolate;
}
.nav.scrolled {
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft); padding: .6rem 0;
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: .75rem; }
.nav-logo-icon {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--white); font-family: var(--font-display); font-size: 1.4rem;
    font-weight: 600; flex-shrink: 0;
}
.nav-logo-text { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy-dark); }
.nav-logo-tagline { font-size: .7rem; color: var(--grey-light); letter-spacing: .05em; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--navy-dark); position: relative; padding: .5rem 0; }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--sage-dark); transition: width var(--transition-fast);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: var(--navy-dark) !important; color: var(--white) !important;
    padding: .7rem 1.4rem !important; border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.nav-cta:hover { background: var(--navy-medium) !important; transform: translateY(-2px); }
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; z-index: 1001; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-dark); transition: all var(--transition-fast); display: block; }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 999; }
.nav-overlay.active { display: block; }

/* ─── HERO ─── */
.hero {
    min-height: 100vh; display: flex; align-items: center; position: relative;
    background: linear-gradient(135deg, var(--cream) 0%, var(--sage-pale) 50%, var(--cream) 100%);
    overflow: hidden; padding-top: 80px;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 150%;
    background: radial-gradient(ellipse, rgba(90, 125, 107, .08) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-text { animation: fadeInUp .8s ease-out; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem; background: var(--white);
    padding: .5rem 1rem; border-radius: 50px; font-size: .85rem; color: var(--sage-dark);
    font-weight: 500; margin-bottom: 1.5rem; box-shadow: var(--shadow-soft);
}
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--sage-medium); border-radius: 50%; flex-shrink: 0; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 span { color: var(--sage-dark); }
.hero-slogan { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; color: var(--navy-medium); margin-bottom: 2rem; opacity: .9; }
.hero-description { font-size: 1.1rem; color: var(--grey-text); margin-bottom: 2.5rem; max-width: 500px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
    display: inline-flex; align-items: center; gap: .5rem; padding: 1rem 2rem;
    border-radius: var(--radius-sm); font-weight: 500; font-size: 1rem;
    transition: all var(--transition-fast); cursor: pointer; border: none;
    min-height: 48px; font-family: var(--font-body);
}
.btn-primary { background: var(--navy-dark); color: var(--white); }
.btn-primary:hover { background: var(--navy-medium); transform: translateY(-2px); box-shadow: var(--shadow-medium); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy-dark); border: 2px solid var(--navy-dark); }
.btn-secondary:hover { background: var(--navy-dark); color: var(--white); }

.hero-image { position: relative; animation: fadeInUp .8s ease-out .2s both; }
.hero-image-wrapper { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-strong); }
.hero-image-wrapper::before {
    content: ''; position: absolute; top: -20px; left: -20px; right: 20px; bottom: 20px;
    border: 3px solid var(--sage-light); border-radius: var(--radius-lg); z-index: -1;
}
.hero-image img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; }
.hero-credentials {
    position: absolute; bottom: -1.5rem; left: 50%; transform: translateX(-50%);
    background: var(--white); padding: 1rem 2rem; border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium); display: flex; gap: 2rem; white-space: nowrap;
}
.credential { text-align: center; }
.credential-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--navy-dark); }
.credential-label { font-size: .75rem; color: var(--grey-light); text-transform: uppercase; letter-spacing: .05em; }

/* ─── TRUST BAR ─── */
.trust-bar { background: var(--white); padding: 2rem 0; border-top: 1px solid rgba(0, 0, 0, .05); border-bottom: 1px solid rgba(0, 0, 0, .05); }
.trust-items { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .75rem; color: var(--grey-text); font-size: .95rem; }
.trust-icon { width: 40px; height: 40px; background: var(--sage-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-icon svg { width: 20px; height: 20px; stroke: var(--sage-dark); }

/* ─── SECTION COMMON ─── */
.services { background: var(--white); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-label { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--sage-dark); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--grey-light); font-size: 1.1rem; }

/* ─── SERVICE GRID ─── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card {
    background: var(--cream); padding: 2.5rem; border-radius: var(--radius-lg);
    transition: all var(--transition-medium); position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--navy-dark), var(--sage-dark));
    transform: scaleX(0); transform-origin: left; transition: transform var(--transition-medium);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); }
.service-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    border-radius: var(--radius-md); display: flex; align-items: center;
    justify-content: center; margin-bottom: 1.5rem;
}
.service-icon svg { width: 28px; height: 28px; stroke: var(--white); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.service-card p { color: var(--grey-text); margin-bottom: 1.5rem; }
.service-features { list-style: none; margin-bottom: 1.5rem; flex-grow: 1; }
.service-features li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; font-size: .95rem; color: var(--grey-text); }
.service-features li::before { content: ''; width: 6px; height: 6px; background: var(--sage-dark); border-radius: 50%; margin-top: .55rem; flex-shrink: 0; }
.service-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--navy-dark); min-height: 44px; margin-top: auto; }
.service-link svg { width: 16px; height: 16px; transition: transform var(--transition-fast); }
.service-link:hover svg { transform: translateX(4px); }

/* ─── DETAIL SECTIONS ─── */
.detail-section { position: relative; }
.detail-section:nth-child(even) { background: var(--white); }
.detail-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.detail-content.reverse { direction: rtl; }
.detail-content.reverse > * { direction: ltr; }
.detail-text h2 { margin-bottom: 1.5rem; }
.detail-text p { margin-bottom: 1.5rem; }
.detail-list { list-style: none; margin: 2rem 0; }
.detail-list li {
    display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem;
    padding: 1rem; background: var(--white); border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}
.detail-section:nth-child(even) .detail-list li { background: var(--cream); }
.detail-list li:hover { transform: translateX(8px); box-shadow: var(--shadow-soft); }
.detail-list-icon {
    width: 40px; height: 40px; background: var(--sage-pale);
    border-radius: var(--radius-sm); display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.detail-list-icon svg { width: 20px; height: 20px; stroke: var(--sage-dark); }
.detail-list-content h4 { font-size: 1rem; margin-bottom: .25rem; }
.detail-list-content p { font-size: .9rem; color: var(--grey-light); margin: 0; }
.detail-card {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-medium));
    border-radius: var(--radius-lg); padding: 3rem; color: var(--white);
    position: relative; overflow: hidden;
}
.detail-card::before {
    content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 0%, transparent 70%);
}
.detail-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 1.5rem; position: relative; }
.detail-card-list { list-style: none; position: relative; }
.detail-card-list li { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; font-size: .95rem; opacity: .9; }
.detail-card-list li::before { content: '✓'; color: var(--sage-light); font-weight: bold; }

/* ─── B2B SECTION ─── */
.b2b-section {
    background: linear-gradient(135deg, var(--navy-dark) 0%, #243a5e 100%);
    color: var(--white); position: relative; overflow: hidden;
}
.b2b-section::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .5;
}
.b2b-section .section-header { position: relative; }
.b2b-section .section-label { color: var(--sage-light); }
.b2b-section h2 { color: var(--white); }
.b2b-section .section-header p { color: rgba(255, 255, 255, .7); }
.b2b-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; position: relative; }
.b2b-card {
    background: rgba(255, 255, 255, .08); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg);
    padding: 2rem; transition: all var(--transition-medium);
}
.b2b-card:hover { background: rgba(255, 255, 255, .12); transform: translateY(-4px); }
.b2b-card h4 { color: var(--white); font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1rem; }
.b2b-card p { color: rgba(255, 255, 255, .8); font-size: .95rem; margin: 0; }
.b2b-quality {
    margin-top: 3rem; padding: 2rem; background: rgba(255, 255, 255, .05);
    border-radius: var(--radius-lg); border-left: 4px solid var(--sage-light); position: relative;
}
.b2b-quality h4 { color: var(--sage-light); font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1rem; }
.b2b-quality p { color: rgba(255, 255, 255, .85); margin: 0; }

/* ─── ABOUT ─── */
.about { background: var(--white); }
.about-content { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.about-image { position: sticky; top: 120px; }
.about-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-medium); }
.about-text h2 { margin-bottom: 2rem; }
.about-text p { font-size: 1.05rem; }
.about-qualifications { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(0, 0, 0, .1); }
.about-qualifications h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.qualification-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.qualification-item { display: flex; align-items: flex-start; gap: 1rem; }
.qualification-icon {
    width: 48px; height: 48px; background: var(--sage-pale);
    border-radius: var(--radius-md); display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.qualification-icon svg { width: 24px; height: 24px; stroke: var(--sage-dark); }
.qualification-content h4 { font-size: 1rem; margin-bottom: .25rem; }
.qualification-content p { font-size: .9rem; color: var(--grey-light); margin: 0; }

/* ─── FAQ ─── */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.faq-item { background: var(--white); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition-fast); }
.faq-item:hover { box-shadow: var(--shadow-soft); }
.faq-question {
    width: 100%; padding: 1.5rem; background: none; border: none; text-align: left;
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; font-family: var(--font-body); font-size: 1rem; font-weight: 500;
    color: var(--navy-dark); min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}
.faq-question svg { width: 20px; height: 20px; stroke: var(--navy-dark); transition: transform var(--transition-fast); flex-shrink: 0; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-medium); }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner { padding: 0 1.5rem 1.5rem; color: var(--grey-text); font-size: .95rem; }

/* ─── CONTACT ─── */
.contact { background: var(--white); }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info > p { margin-bottom: 2.5rem; }
.contact-details { list-style: none; }
.contact-details li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
    width: 48px; height: 48px; background: var(--sage-pale);
    border-radius: var(--radius-md); display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--sage-dark); }
.contact-text strong { display: block; color: var(--navy-dark); margin-bottom: .25rem; }
.contact-text span, .contact-text a { color: var(--grey-text); font-size: .95rem; }
.contact-form-wrapper { background: var(--cream); padding: 2.5rem; border-radius: var(--radius-lg); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: .5rem; color: var(--navy-dark); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 1rem; border: 2px solid transparent;
    border-radius: var(--radius-sm); background: var(--white);
    font-family: var(--font-body); font-size: 16px; color: var(--grey-text);
    transition: all var(--transition-fast); -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--sage-medium); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Checkbox Styling */
.form-checkbox { margin: 1.25rem 0; }
.checkbox-label {
    display: flex; align-items: flex-start; gap: 0.75rem;
    cursor: pointer; font-size: 0.9rem; line-height: 1.5; color: var(--grey-text);
    position: relative; padding-left: 32px;
}
.checkbox-label input[type="checkbox"] {
    position: absolute; opacity: 0; width: 0; height: 0;
}
.checkbox-custom {
    position: absolute; left: 0; top: 2px;
    flex-shrink: 0; width: 22px; height: 22px; border: 2px solid var(--grey-light);
    border-radius: 4px; background: var(--white);
    transition: all var(--transition-fast);
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--sage-dark); border-color: var(--sage-dark);
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: ''; position: absolute; left: 6px; top: 2px;
    width: 6px; height: 12px; border: solid var(--white);
    border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(90, 125, 107, 0.2);
}
.checkbox-text { display: inline; }
.checkbox-text a { color: var(--sage-dark); text-decoration: underline; }
.checkbox-text a:hover { color: var(--navy-dark); }

.form-submit {
    width: 100%; padding: 1rem 2rem; background: var(--navy-dark); color: var(--white);
    border: none; border-radius: var(--radius-sm); font-family: var(--font-body);
    font-size: 1rem; font-weight: 500; cursor: pointer;
    transition: all var(--transition-fast); min-height: 48px;
}
.form-submit:hover { background: var(--navy-medium); transform: translateY(-2px); }

/* ─── FOOTER ─── */
.footer { background: var(--navy-dark); color: rgba(255, 255, 255, .8); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand h3 { color: var(--white); font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1rem; }
.footer-brand p { font-size: .95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.footer-brand .slogan { font-family: var(--font-display); font-style: italic; color: var(--sage-light); }
.footer-links h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.25rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .75rem; }
.footer-links a { color: rgba(255, 255, 255, .7); font-size: .95rem; }
.footer-links a:hover { color: var(--sage-light); }
.footer-bottom {
    padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem; font-size: .9rem; color: rgba(255, 255, 255, .6);
}
.footer-bottom a { color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: var(--sage-light); }


/* ═══════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ═══════════════════════════════════ */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 300px;
        height: 100vh; height: 100dvh; background: var(--white);
        flex-direction: column; padding: 5rem 2rem 2rem; gap: .25rem;
        transition: right var(--transition-medium); box-shadow: var(--shadow-strong);
        overflow-y: auto; z-index: 1000;
    }
    .nav-links.active { right: 0; }
    .nav-links li a {
        display: flex; align-items: center; padding: .75rem 0;
        font-size: 1.1rem; border-bottom: 1px solid rgba(0, 0, 0, .05); min-height: 48px;
    }
    .nav-links li:last-child a { margin-top: .75rem; justify-content: center; border-bottom: none; }
    .nav-toggle { display: flex; }

    .hero { min-height: auto; padding-bottom: 3rem; }
    .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-text { text-align: center; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .hero-description { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-image-wrapper::before { display: none; }
    .hero-image img { max-height: 450px; margin: 0 auto; }
    .hero-credentials { position: relative; bottom: auto; left: auto; transform: none; margin-top: 2rem; justify-content: center; }

    .detail-content, .about-content, .contact-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .detail-content.reverse { direction: ltr; }
    .services-grid, .b2b-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .faq-grid, .qualification-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-image { position: relative; top: auto; }
    .about-image img { max-width: 400px; margin: 0 auto; }
}

/* ═══════════════════════════════════
   RESPONSIVE — TABLET PORTRAIT (≤768px)
   ═══════════════════════════════════ */
@media (max-width: 768px) {
    section { padding: 3.5rem 0; }
    .container { padding: 0 1.5rem; }
    .section-header { margin-bottom: 2.5rem; }
    .service-card { padding: 2rem; }
    .service-card:hover { transform: none; }
    .detail-list li:hover { transform: none; }
    .detail-card { padding: 2rem; }
    .b2b-card { padding: 1.5rem; }
    .b2b-card:hover { transform: none; }
    .trust-items { gap: 1.5rem; flex-direction: column; align-items: flex-start; }
    .trust-item { flex-basis: auto; justify-content: flex-start; font-size: .9rem; width: 100%; }
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .contact-form-wrapper { padding: 2rem; }
}

/* ═══════════════════════════════════
   RESPONSIVE — SMARTPHONE (≤480px)
   ═══════════════════════════════════ */
@media (max-width: 480px) {
    body { font-size: 16px; }
    section { padding: 3rem 0; }
    .container { padding: 0 1rem; }
    .nav { padding: .6rem 0; }
    .nav-logo-icon { width: 40px; height: 40px; font-size: 1.2rem; }
    .nav-logo-text { font-size: 1.05rem; }
    .nav-logo-tagline { font-size: .65rem; }
    .nav-links { width: 85vw; max-width: 300px; }

    .hero { padding-top: 70px; padding-bottom: 2rem; }
    .hero-slogan { font-size: 1.1rem; margin-bottom: 1.25rem; }
    .hero-badge { font-size: .8rem; padding: .4rem .85rem; }
    .hero-description { font-size: .95rem; margin-bottom: 1.75rem; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-image img { max-height: 350px; aspect-ratio: auto; }
    .hero-credentials { flex-direction: column; gap: 0.5rem; padding: 1rem 1.5rem; width: 100%; }
    .credential { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0.25rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .credential:last-child { border-bottom: none; }
    .credential-value { font-size: 1.1rem; order: 2; }
    .credential-label { font-size: .7rem; text-align: left; order: 1; }

    .trust-bar { padding: 1.5rem 0; }
    .trust-items { flex-direction: column !important; gap: 1rem; align-items: flex-start !important; }
    .trust-item { width: 100%; justify-content: flex-start !important; }
    .trust-icon { width: 36px; height: 36px; }
    .trust-icon svg { width: 18px; height: 18px; }

    .section-header { margin-bottom: 2rem; }
    .section-label { font-size: .8rem; }
    .service-card { padding: 1.5rem; }
    .service-icon { width: 50px; height: 50px; }
    .service-icon svg { width: 24px; height: 24px; }
    .service-card h3 { font-size: 1.25rem; }
    .service-features li { font-size: .9rem; }

    .detail-list li { padding: .75rem; }
    .detail-list-icon { width: 36px; height: 36px; }
    .detail-list-icon svg { width: 18px; height: 18px; }
    .detail-list-content h4 { font-size: .95rem; }
    .detail-list-content p { font-size: .85rem; }
    .detail-card { padding: 1.5rem; }
    .detail-card h3 { font-size: 1.25rem; }
    .detail-card-list li { font-size: .9rem; }

    .b2b-card { padding: 1.25rem; }
    .b2b-card h4 { font-size: 1.1rem; }
    .b2b-card p { font-size: .9rem; }
    .b2b-quality { padding: 1.25rem; margin-top: 2rem; }

    .about-image img { max-width: 100%; }
    .about-text p { font-size: .95rem; }
    .about-qualifications { margin-top: 2rem; padding-top: 1.5rem; }
    .qualification-icon { width: 40px; height: 40px; }
    .qualification-icon svg { width: 20px; height: 20px; }

    .faq-question { padding: 1.25rem 1rem; font-size: .95rem; }
    .faq-answer-inner { padding: 0 1rem 1.25rem; font-size: .9rem; }

    .contact-icon { width: 42px; height: 42px; }
    .contact-text a[href^="tel"] { font-size: 1rem; font-weight: 500; color: var(--navy-dark); }
    .contact-form-wrapper { padding: 1.5rem; }
    .form-group input, .form-group textarea, .form-group select { padding: .85rem; }

    .footer { padding: 3rem 0 1.5rem; }
    .footer-brand h3 { font-size: 1.25rem; }
    .footer-bottom { font-size: .8rem; }
}

/* ═══════════════════════════════════
   RESPONSIVE — KLEINE SMARTPHONES (≤360px)
   ═══════════════════════════════════ */
@media (max-width: 360px) {
    .hero h1 { font-size: 1.6rem; }
    .hero-slogan { font-size: 1rem; }
    .hero-credentials { flex-direction: column; align-items: center; }
    .nav-logo-text { font-size: .95rem; }
    .btn { padding: .8rem 1.25rem; font-size: .95rem; }
}

/* ═══════════════════════════════════
   TOUCH-OPTIMIERUNG
   ═══════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover, .b2b-card:hover, .detail-list li:hover { transform: none; box-shadow: none; }
    .service-card:active { transform: scale(.98); }
    .faq-question:active { background: var(--sage-pale); }
    .nav-links li a, .service-link, .footer-links li { min-height: 44px; }
    .footer-links li { display: flex; align-items: center; }
    .footer-links li a { padding: .5rem 0; }
}

/* Landscape Handy */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 80px 0 2rem; }
    .hero-content { grid-template-columns: 1fr 1fr; }
    .hero-image img { max-height: 250px; }
    .nav-links { height: 100dvh; overflow-y: auto; }
}

/* Print */
@media print {
    .nav, .nav-overlay, .hero-buttons, .contact-form-wrapper { display: none !important; }
    body { font-size: 12pt; color: #000; background: #fff; }
    section { padding: 1rem 0; page-break-inside: avoid; }
}
