<!DOCTYPE html>
<html lang="de">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{% block title %}Hebamme Krystyna Kolb{% endblock %}</title>
    <style>
        :root {
            --rosa: #f8dfe8;
            --rosa-dunkel: #c97f95;
            --blau: #dcefff;
            --blau-dunkel: #6c8cab;
            --text: #4f4850;
            --weiss: rgba(255,255,255,0.72);
            --weiss-stark: rgba(255,255,255,0.88);
            --shadow: 0 10px 28px rgba(108, 140, 171, 0.18);
            --radius: 22px;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text);
            background: linear-gradient(135deg, #f9d9e6 0%, #f8e7ee 28%, #eaf4ff 72%, #d8ebff 100%);
            min-height: 100vh;
        }

        .page-wrap {
            max-width: 1180px;
            margin: 0 auto;
            padding: 28px 20px 40px;
        }

        .topbar {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 24px;
            margin-bottom: 24px;
        }

        .logo-box,
        .photo-box {
            background: var(--weiss);
            border-radius: 24px;
            box-shadow: var(--shadow);
            backdrop-filter: blur(6px);
            padding: 14px;
        }

        .logo-box img {
            display: block;
            max-height: 88px;
            width: auto;
        }

        .photo-box img {
            display: block;
            width: 170px;
            max-width: 100%;
            height: auto;
            border-radius: 18px;
            object-fit: cover;
        }

        nav {
            margin-bottom: 28px;
            background: var(--weiss);
            border-radius: 18px;
            padding: 14px 18px;
            box-shadow: var(--shadow);
        }

        nav a {
            color: var(--blau-dunkel);
            text-decoration: none;
            font-weight: 600;
            margin-right: 18px;
        }

        nav a:hover {
            color: var(--rosa-dunkel);
        }

        .hero {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 28px;
            align-items: center;
            margin-bottom: 34px;
        }

        .hero-card {
            background: var(--weiss-stark);
            border-radius: 30px;
            padding: 36px 34px;
            box-shadow: var(--shadow);
        }

        .eyebrow {
            display: inline-block;
            padding: 8px 14px;
            border-radius: 999px;
            background: rgba(255,255,255,0.7);
            color: var(--rosa-dunkel);
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 18px;
        }

        h1 {
            font-size: clamp(2rem, 4vw, 3.6rem);
            line-height: 1.08;
            margin: 0 0 20px;
            color: #6f5d69;
        }

        .hero-text {
            font-size: 1.15rem;
            line-height: 1.8;
            margin: 0;
        }

        .hero-highlight {
            color: var(--rosa-dunkel);
            font-weight: 700;
        }

        .intro-side {
            background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.62));
            border-radius: 30px;
            padding: 30px;
            box-shadow: var(--shadow);
        }

        .intro-side h2 {
            margin-top: 0;
            color: var(--blau-dunkel);
            font-size: 1.5rem;
        }

        .intro-side p {
            line-height: 1.75;
            margin-bottom: 0;
        }

        .section-title {
            font-size: 2rem;
            color: #6f5d69;
            margin: 12px 0 18px;
        }

        .section-subtitle {
            margin: 0 0 26px;
            line-height: 1.75;
            max-width: 760px;
        }

        .leistungen-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        details {
            background: var(--weiss-stark);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 0;
            overflow: hidden;
        }

        summary {
            list-style: none;
            cursor: pointer;
            padding: 22px 24px;
            font-size: 1.08rem;
            font-weight: 700;
            color: var(--blau-dunkel);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        summary::-webkit-details-marker {
            display: none;
        }

        summary::after {
            content: "+";
            font-size: 1.4rem;
            color: var(--rosa-dunkel);
            margin-left: 14px;
        }

        details[open] summary::after {
            content: "–";
        }

        .detail-content {
            padding: 0 24px 24px;
            line-height: 1.75;
        }

        .languages {
            margin: 8px 0 0;
            padding-left: 18px;
        }

        footer {
            margin-top: 38px;
            padding: 20px 10px 10px;
            text-align: center;
            color: #7b7480;
            font-size: 0.95rem;
        }

        @media (max-width: 900px) {
            .hero,
            .leistungen-grid {
                grid-template-columns: 1fr;
            }

            .topbar {
                align-items: stretch;
            }

            .photo-box img {
                width: 130px;
            }
        }

        @media (max-width: 640px) {
            .topbar {
                flex-direction: column;
            }

            .logo-box img {
                max-height: 70px;
            }

            .photo-box img {
                width: 100%;
                max-width: 220px;
            }

            .hero-card,
            .intro-side {
                padding: 24px;
            }

            h1 {
                font-size: 2rem;
            }
        }

        .logo {
            height: 90px;
            object-fit: contain;
        }

        .profile {
            width: 180px;
            height: auto;
            border-radius: 20px;
            box-shadow: 0 12px 30px rgba(0,0,0,0.15);
            object-fit: cover;
        }

        .profile {
            width: 180px;
            border-radius: 50%;
            border: 4px solid rgba(255,255,255,0.6);
        }
    </style>
</head>
<body>
    <div class="page-wrap">
        <div class="topbar">
            <div class="logo-box">
                <img src="{{ url_for('static', filename='logo_transparent.png') }}" class="logo">
            </div>

            <div class="photo-box">
                <img src="{{ url_for('static', filename='Krystyna_optimized_full.png') }}" class="profile">
            </div>
        </div>

        <nav>
            <a href="{{ url_for('home') }}">Startseite</a>
            <a href="{{ url_for('impressum') }}">Impressum</a>
            <a href="{{ url_for('kontakt') }}">Kontakt</a>
        </nav>

        {% block content %}{% endblock %}

        <footer>
            Hebamme Krystyna Kolb
        </footer>
    </div>
</body>
</html>