/* ============================================
   Zahnarztpraxis Dr. Lonie Schulte-Altrogge
   styles.css – Multi-Page Design
   Colors from original Hype project
   ============================================ */

:root {
    --color-purple: #921D7E;
    --color-purple-dark: #7a1869;
    --color-green: #A8C842;
    --color-green-dark: #8fb535;
    --color-bg: #E6E6E6;
    --color-white: #FFFFFF;
    --color-text: #000000;
    --color-text-gray: #828282;
    --color-border: #D8DDE4;
    --font-main: Arial, Helvetica, sans-serif;
    --font-body: Verdana, Tahoma, Geneva, sans-serif;
    --radius: 10px;
    --transition: 0.3s ease;
    --max-width: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-purple-dark); }

/* Layout */
.page-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 20px 20px;
}
.content-box {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    min-height: 500px;
    display: flex;
    flex-direction: column;
}
.content-inner {
    padding: 30px 50px 50px;
    flex: 1;
}

/* Header */
.site-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 50px 0;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo-link { display: flex; align-items: center; gap: 20px; text-decoration: none; color: inherit; }
.logo-img { width: 100px; height: 100px; flex-shrink: 0; }
.site-title { font-family: var(--font-main); }
.site-title .title-main { font-size: 36px; font-weight: normal; display: block; line-height: 1.2; }
.site-title .title-sub { font-size: 24px; font-weight: normal; display: block; white-space: nowrap; }
.header-image { width: 280px; height: 280px; flex-shrink: 0; }
.header-image img { width: 100%; height: 100%; object-fit: contain; }

/* Navigation */
.main-nav { padding: 15px 50px 0; }
.nav-list { display: flex; list-style: none; gap: 30px; }
.nav-link {
    font-family: var(--font-main);
    font-size: 18px;
    color: var(--color-text);
    padding: 6px 0;
    transition: color var(--transition);
}
.nav-link:hover { color: var(--color-purple); }
.nav-link.active { color: var(--color-purple); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 100;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 26px; height: 3px;
    background: var(--color-text); border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    position: absolute; left: 7px;
}
.hamburger { top: 50%; transform: translateY(-50%); }
.hamburger::before { content: ''; top: -8px; }
.hamburger::after { content: ''; top: 8px; }
.nav-toggle.open .hamburger { background: transparent; }
.nav-toggle.open .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open .hamburger::after { top: 0; transform: rotate(-45deg); }

/* Green Title Bar */
.title-bar {
    background-color: var(--color-green);
    border: 1px solid var(--color-border);
    padding: 8px 50px;
    margin-top: 10px;
}
.title-bar h1, .title-bar h2 {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: bold;
    color: var(--color-white);
    margin: 0;
}

/* Welcome */
.welcome-text { font-size: 14px; line-height: 20px; }
.welcome-text p { margin-bottom: 15px; }
.welcome-text .greeting {
    font-family: var(--font-main);
    font-size: 48px;
    font-weight: bold;
    color: var(--color-purple);
    margin-bottom: 20px;
}
.welcome-text .greeting .accent { color: var(--color-green); }
.hinweis-box {
    background: #FFF8E1;
    border: 2px solid var(--color-green);
    border-radius: var(--radius);
    padding: 15px 20px;
    margin: 25px 0;
}

/* Footer Bar */
.footer-bar {
    background-color: var(--color-green);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 8px 50px;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    margin-top: auto;
}
.footer-bar a {
    font-family: var(--font-main);
    font-size: 18px;
    color: var(--color-white);
    transition: opacity var(--transition);
}
.footer-bar a:hover { opacity: 0.8; color: var(--color-white); }

/* Praxis */
.praxis-content { display: flex; gap: 40px; align-items: flex-start; }
.praxis-text { flex: 1; }
.praxis-text p { margin-bottom: 15px; }
.praxis-images { display: flex; gap: 20px; flex-shrink: 0; }
.circle-image { width: 220px; height: 220px; }
.circle-image img { width: 100%; height: 100%; object-fit: contain; }
.team-link {
    display: inline-block;
    margin-top: 25px;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: bold;
    color: var(--color-purple);
    letter-spacing: 2px;
}
.team-link:hover { color: var(--color-purple-dark); }

/* Team */
.team-lead {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 10px;
}
.team-lead .team-member { display: inline-block; }
.team-lead .member-photo { width: 170px; height: 170px; margin: 0 auto 10px; }
.team-lead .member-photo img { width: 100%; height: 100%; object-fit: contain; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 25px;
}
.team-member { text-align: center; }
.team-member .member-photo { width: 150px; height: 150px; margin: 0 auto 10px; }
.team-member .member-photo img { width: 100%; height: 100%; object-fit: contain; }
.team-member .member-name {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 3px;
}
.team-member .member-role {
    font-size: 11px;
    color: var(--color-text-gray);
    line-height: 1.4;
}
.team-group-photo { margin-top: 30px; text-align: center; }
.team-group-photo img { max-width: 100%; border-radius: var(--radius); }

/* Leistungen */
.leistungen-intro { margin-bottom: 20px; }
.leistungen-intro p { margin-bottom: 10px; }
.leistungen-list { list-style: none; }
.leistungen-list li { margin-bottom: 8px; }
.leistungen-list a {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: bold;
    color: var(--color-text-gray);
    letter-spacing: 4px;
    display: inline-block;
    padding: 4px 0;
}
.leistungen-list a:hover { color: var(--color-purple); }

/* Leistungen Detail */
.leistung-detail p { margin-bottom: 15px; line-height: 20px; }
.back-link {
    display: inline-block;
    margin-top: 25px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: bold;
    color: var(--color-purple);
    letter-spacing: 2px;
}
.back-link:hover { color: var(--color-purple-dark); }

/* Kontakt */
.kontakt-content address { font-style: normal; margin-bottom: 20px; }
.kontakt-content h3 { font-family: var(--font-main); font-size: 18px; margin: 25px 0 10px; }
.kontakt-content a { color: var(--color-purple); }
.zeiten-image { margin: 20px 0; max-width: 600px; }
.zeiten-image img { width: 100%; border-radius: var(--radius); }
.anfahrt-image { margin: 20px 0; max-width: 700px; }
.anfahrt-image img { width: 100%; border-radius: var(--radius); }

/* Legal pages */
.legal-content h3 { font-family: var(--font-main); font-size: 16px; margin: 20px 0 10px; }
.legal-content p { margin-bottom: 10px; line-height: 20px; }

/* Responsive */
@media (max-width: 900px) {
    .site-header { flex-wrap: wrap; padding: 15px 20px 0; gap: 10px; }
    .header-left { gap: 10px; }
    .logo-img { width: 70px; height: 70px; }
    .site-title .title-main { font-size: 24px; }
    .site-title .title-sub { font-size: 16px; white-space: normal; }
    .header-image { width: 150px; height: 150px; position: absolute; top: 10px; right: 20px; }
    .main-nav { padding: 10px 20px 0; position: relative; }
    .nav-toggle { display: block; }
    .nav-list {
        display: none; flex-direction: column; gap: 5px;
        background: var(--color-white); padding: 15px;
        border-radius: var(--radius); border: 1px solid var(--color-border);
        position: absolute; top: 50px; left: 20px; right: 20px; z-index: 50;
    }
    .nav-list.open { display: flex; }
    .title-bar { padding: 8px 20px; }
    .content-inner { padding: 20px; }
    .footer-bar { padding: 8px 20px; }
    .praxis-content { flex-direction: column; }
    .praxis-images { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .circle-image { width: 180px; height: 180px; }
    .team-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .team-member .member-photo { width: 120px; height: 120px; }
}

@media (max-width: 600px) {
    .page-wrapper { padding: 5px 10px 10px; }
    .site-header { padding: 10px 15px 0; }
    .header-image { width: 80px; height: 80px; right: 15px; }
    .site-title .title-main { font-size: 20px; }
    .site-title .title-sub { font-size: 14px; }
    .main-nav { padding: 10px 15px 0; }
    .title-bar { padding: 8px 15px; }
    .title-bar h1, .title-bar h2 { font-size: 18px; }
    .content-inner { padding: 15px; }
    .footer-bar { padding: 8px 15px; gap: 15px; }
    .footer-bar a { font-size: 14px; }
    .leistungen-list a { font-size: 14px; letter-spacing: 2px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .circle-image { width: 140px; height: 140px; }
}