/* =============================================
   APOTHEKE AM MARKTPLATZ – STYLES
   Source Sans 3 | Green #1a7a4a | White #fff
   ============================================= */

/* ── 1. ROOT VARIABLES & RESET ── */
:root {
    --green:       #1a7a4a;
    --green-dk:    #115534;
    --green-light: #e8f5ee;
    --green-mid:   #d1ebda;
    --red:         #c0392b;
    --red-hover:   #a02820;
    --white:       #ffffff;
    --text:        #1a2a1e;
    --slate:       #607060;
    --border:      #d8e8da;
    --bg-section:  #f5faf7;
    --header-h:    72px;
    --transition:  0.28s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── 2. TYPOGRAPHY ── */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.2rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.5rem;
    display: block;
}

.section-label.light { color: rgba(255,255,255,0.55); }

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--text);
    margin-bottom: 1rem;
}

.section-title.light { color: var(--white); }

.section-intro {
    font-size: 1.05rem;
    color: var(--slate);
    max-width: 640px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.green { color: var(--green); }

/* ── 3. BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    padding: 13px 26px;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform 0.15s ease;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.btn-primary:hover {
    background: var(--green-dk);
    border-color: var(--green-dk);
    box-shadow: 0 4px 16px rgba(26,122,74,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}

.btn-outline:hover {
    background: var(--green);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-emergency {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

.btn-emergency:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
    box-shadow: 0 4px 16px rgba(192,57,43,0.35);
}

.btn-full { width: 100%; justify-content: center; }

.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

/* ── 4. HEADER – SPLIT LAYOUT ── */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    height: var(--header-h);
    background: var(--white);
    border-bottom: 2px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    align-items: stretch;
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: 0 3px 20px rgba(0,0,0,0.12);
}

/* Left half */
.header-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0 2rem;
    border-right: 1.5px solid var(--border);
    flex-shrink: 0;
}

/* Pharmacy cross (header) */
.pharmacy-cross {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.pharmacy-cross .cross-h,
.pharmacy-cross .cross-v {
    position: absolute;
    background: var(--green);
    border-radius: 2px;
}

.pharmacy-cross .cross-h {
    width: 36px;
    height: 12px;
    top: 12px;
    left: 0;
}

.pharmacy-cross .cross-v {
    width: 12px;
    height: 36px;
    top: 0;
    left: 12px;
}

.header-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.72rem;
    color: var(--slate);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* Right half */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem 0 2rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--slate);
    padding: 8px 12px;
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 12px;
    width: calc(100% - 24px);
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.nav-link:hover { color: var(--green); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--green); }
.nav-link.active::after { transform: scaleX(1); }

/* Notdienst button – pulsing */
.notdienst-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 4px;
    margin-left: 0.8rem;
    flex-shrink: 0;
    animation: nd-pulse 2.8s ease-in-out infinite;
    transition: background 0.2s;
}

.notdienst-btn:hover {
    background: var(--red-hover);
    animation: none;
}

.notdienst-btn i { font-size: 1rem; }

@keyframes nd-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(192, 57, 43, 0); }
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    transition: transform 0.25s, opacity 0.25s, width 0.25s;
}

.menu-toggle span:nth-child(1) { width: 24px; }
.menu-toggle span:nth-child(2) { width: 18px; }
.menu-toggle span:nth-child(3) { width: 24px; }

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 24px; }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

/* ── 5. HERO (compact 50vh strip) ── */
.hero {
    min-height: 50vh;
    max-height: 580px;
    background: var(--green-light);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 5rem);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1rem;
}

.hero-left h1 {
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-left p {
    font-size: 1rem;
    color: var(--slate);
    max-width: 480px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Right side – big pharmacy cross */
.hero-right {
    background: var(--green);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.07) 0%, transparent 70%);
}

.big-cross {
    position: relative;
    width: 160px;
    height: 160px;
}

.big-cross .big-cross-h,
.big-cross .big-cross-v {
    position: absolute;
    background: rgba(255,255,255,0.92);
    border-radius: 4px;
    transition: background 0.2s;
}

.big-cross .big-cross-h {
    width: 160px;
    height: 54px;
    top: 53px;
    left: 0;
}

.big-cross .big-cross-v {
    width: 54px;
    height: 160px;
    top: 0;
    left: 53px;
}

.hero-right-text {
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ── 6. TICKER BANNER ── */
.ticker-bar {
    background: var(--text);
    color: rgba(255,255,255,0.85);
    height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: 0.82rem;
    gap: 0;
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green);
    color: var(--white);
    padding: 0 1.4rem;
    height: 100%;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-content span {
    display: inline-block;
    padding: 0 3rem;
    position: relative;
}

.ticker-content span::after {
    content: '·';
    position: absolute;
    right: 0;
    color: var(--green);
    font-size: 1.2rem;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── 7. LEISTUNGEN ── */
.leistungen {
    padding: 90px 0;
    background: var(--white);
}

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

.leistung-card {
    background: var(--bg-section);
    border: 1.5px solid var(--border);
    border-top: 3px solid var(--green);
    padding: 2rem 1.5rem;
    transition: box-shadow var(--transition), transform var(--transition), border-top-color var(--transition);
    opacity: 0;
    transform: translateY(25px);
}

.leistung-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.25s, border-top-color 0.25s;
}

.leistung-card:hover {
    box-shadow: 0 8px 30px rgba(26,122,74,0.12);
    transform: translateY(-3px);
    border-top-color: var(--green-dk);
}

.leistung-icon {
    width: 52px;
    height: 52px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
    transition: background 0.2s, color 0.2s;
}

.leistung-card:hover .leistung-icon {
    background: var(--green);
    color: var(--white);
}

.leistung-card h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.leistung-card p {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.6;
}

/* ── 8. NOTDIENST ── */
.notdienst-section {
    background: var(--green);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.notdienst-section::before {
    content: '+';
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(200px, 30vw, 380px);
    font-weight: 700;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    font-family: 'Source Sans 3', sans-serif;
    pointer-events: none;
}

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

.notdienst-icon-large {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.12);
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.notdienst-text .section-label { color: rgba(255,255,255,0.55); }
.notdienst-text .section-title { color: var(--white); }

.notdienst-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 1rem;
}

.notdienst-note {
    font-size: 0.85rem !important;
    opacity: 0.7;
    margin-bottom: 1.8rem !important;
}

.notdienst-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

/* ── 9. TEAM ── */
.team {
    padding: 90px 0;
    background: var(--bg-section);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.team-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    opacity: 0;
    transform: translateY(25px);
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s;
}

.team-card:hover {
    box-shadow: 0 8px 30px rgba(26,122,74,0.12);
    transform: translateY(-4px);
}

.team-avatar {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.team-avatar--1 { background: linear-gradient(135deg, var(--green), var(--green-dk)); }
.team-avatar--2 { background: linear-gradient(135deg, #2a7a5a, #1a5040); }
.team-avatar--3 { background: linear-gradient(135deg, #3a8a6a, #256050); }

.team-info { padding: 1.8rem; }

.team-info h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }

.team-role {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.8rem;
}

.team-info p {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.team-expertise { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tag {
    background: var(--green-light);
    color: var(--green-dk);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 2px;
}

/* ── 10. ÖFFNUNGSZEITEN ── */
.oeffnungszeiten {
    padding: 90px 0;
    background: var(--white);
}

.hours-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    margin-top: 2rem;
}

.hours-card {
    background: var(--bg-section);
    border: 1.5px solid var(--border);
    padding: 2.5rem;
}

.hours-card h3 {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

.hours-row { display: flex; flex-direction: column; gap: 1rem; }

.hours-day {
    display: grid;
    grid-template-columns: 110px 1fr 120px;
    align-items: center;
    gap: 1rem;
}

.day-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.day-bar {
    height: 6px;
    background: var(--green-mid);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(to right, var(--green), var(--green-dk));
    border-radius: 3px;
    transition: width 1s ease;
}

.bar-fill--short { background: linear-gradient(to right, #5aad80, var(--green)); }

.bar-closed {
    display: block;
    height: 100%;
    background: #ddd;
    width: 100%;
    border-radius: 3px;
}

.day-time {
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.day-time.closed { color: #aaa; font-weight: 400; }

.hours-day--closed .day-label { color: #aaa; }

.hours-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hours-note-card {
    background: var(--bg-section);
    border: 1.5px solid var(--border);
    border-left: 4px solid var(--green);
    padding: 1.8rem;
}

.hours-note-card--green { border-left-color: var(--green-dk); }

.note-icon {
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 0.8rem;
}

.hours-note-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.hours-note-card p {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ── 11. KONTAKT ── */
.kontakt {
    padding: 90px 0;
    background: var(--bg-section);
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    margin-top: 2rem;
}

.kontakt-info { display: flex; flex-direction: column; gap: 2rem; }

.kontakt-block {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.kontakt-icon {
    width: 44px;
    height: 44px;
    background: var(--green-light);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    border-radius: 50%;
}

.kontakt-block h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 0.25rem;
}

.kontakt-block p { font-size: 0.95rem; line-height: 1.65; }
.kontakt-block a { color: var(--green); transition: color 0.2s; }
.kontakt-block a:hover { color: var(--green-dk); }

/* Form */
.kontakt-form-wrap {
    background: var(--white);
    padding: 2.5rem;
    border: 1.5px solid var(--border);
    box-shadow: 0 4px 28px rgba(26,122,74,0.07);
}

.kontakt-form-wrap h3 {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    background: var(--bg-section);
    color: var(--text);
    border-radius: 3px;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(26,122,74,0.12);
}

/* ── 12. FOOTER ── */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

/* Footer cross */
.footer-cross {
    position: relative;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.footer-cross .fc-h,
.footer-cross .fc-v {
    position: absolute;
    background: var(--green);
    border-radius: 1px;
}

.footer-cross .fc-h { width: 26px; height: 9px; top: 8.5px; left: 0; }
.footer-cross .fc-v { width: 9px; height: 26px; top: 0; left: 8.5px; }

.footer-section p { font-size: 0.88rem; line-height: 1.65; }
.footer-section p a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-section p a:hover { color: var(--white); }

.footer-section h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-section ul a { font-size: 0.88rem; transition: color 0.2s; }
.footer-section ul a:hover { color: #6de5a5; }

.footer-memberships { font-size: 0.82rem !important; line-height: 1.9; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-links { display: flex; gap: 1.5rem; }

/* ── 13. DISCLAIMER ── */
.escape-disclaimer {
    background: #0c1610;
    border-top: 1px solid rgba(26,122,74,0.3);
    padding: 0.5rem 1.5rem;
    position: relative;
    z-index: 300;
}

.escape-disclaimer__inner {
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.745rem;
    font-family: 'Source Sans 3', sans-serif;
    color: rgba(160, 200, 160, 0.55);
    letter-spacing: 0.04em;
}

.escape-disclaimer__inner i { color: rgba(26,122,74,0.7); flex-shrink: 0; }
.escape-disclaimer__inner strong { color: rgba(180, 225, 180, 0.85); font-weight: 700; }
.escape-disclaimer__inner a { color: #6de5a5; text-decoration: underline; text-decoration-color: rgba(109,229,165,0.4); }
.escape-disclaimer__inner a:hover { color: #adf5cc; }

/* ── 14. FADE-IN ── */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 15. RESPONSIVE ── */
@media (max-width: 1100px) {
    .leistungen-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .hours-layout { grid-template-columns: 1fr; }
    .hours-aside { flex-direction: row; }
    .hours-note-card { flex: 1; }
}

@media (max-width: 900px) {
    .team-grid { grid-template-columns: 1fr 1fr; }
    .notdienst-inner { grid-template-columns: 1fr; }
    .notdienst-icon-large { display: none; }
    .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
    .kontakt-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        height: auto;
        padding: 0;
    }

    .header-left {
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex: 1;
        padding: 0.8rem 1.2rem;
    }

    .menu-toggle {
        display: flex;
        order: 3;
        padding: 0.8rem 1.2rem;
    }

    .header-right {
        order: 4;
        width: 100%;
        border-top: 1px solid var(--border);
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.35s ease;
    }

    .header-right.open { max-height: 600px; }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0;
        gap: 0;
    }

    .nav-link {
        padding: 12px 1.5rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-link::after { display: none; }

    .notdienst-btn {
        margin: 0.8rem 1.2rem;
        justify-content: center;
    }

    .hero { grid-template-columns: 1fr; max-height: none; }
    .hero-right { display: none; }
    .hero-left { padding: 3rem 1.5rem; }

    .team-grid { grid-template-columns: 1fr; }

    .leistungen-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }

    .form-row { grid-template-columns: 1fr; }
    .hours-aside { flex-direction: column; }
    .ticker-label { display: none; }
}

@media (max-width: 480px) {
    .leistungen-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .kontakt-form-wrap { padding: 1.5rem; }
    .hours-day { grid-template-columns: 90px 1fr 90px; gap: 0.5rem; }
}
