:root {
    --brown-primary: #472A1B;
    --brown-dark: #3a2214;
    --brown-light: #5e3a28;
    --cream: #F4EBC1;
    --cream-dark: #e8dba8;
    --white: #ffffff;
    --off-white: #fafafa;
    --text-dark: #2c2c2c;
    --text-body: #444444;
    --text-light: #d4c4a8;
    --border-light: #d6cba0;
    --gold-star: #f5a623;
    --font-heading: 'Georgia', 'Palatino Linotype', 'Book Antiqua', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.container--narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar {
    background: var(--brown-primary);
    color: var(--text-light);
    font-size: 0.82rem;
    padding: 10px 0;
    letter-spacing: 0.2px;
}

.top-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.top-bar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.top-bar__item svg {
    width: 14px;
    height: 14px;
    fill: var(--text-light);
    flex-shrink: 0;
    opacity: 0.8;
}

.top-bar a:hover {
    color: var(--white);
}

.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo__img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
}

.nav-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-body);
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--brown-primary);
    border-bottom-color: var(--brown-primary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brown-primary);
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../img/Taxi-Mende-Inh.-Ingo-Mende-19.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 80px 20px 100px;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    font-style: italic;
    margin-bottom: 6px;
}

.hero__phone {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero__separator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero__separator svg {
    width: 100%;
    height: 80px;
    display: block;
}

.section {
    padding: 70px 0;
}

.section--cream {
    background: var(--cream);
}

.section__heading {
    font-size: 1.85rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.section__text {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 36px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-body);
}

.section__image {
    margin-top: 40px;
    border-radius: 2px;
    overflow: hidden;
}

.section__image img {
    width: 100%;
    display: block;
}

.service-cards {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-card {
    background: rgba(255,255,255,0.45);
    border: 1px solid var(--border-light);
    padding: 28px 32px;
    text-align: center;
}

.service-card__title {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card__text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-body);
}

.hinweise__preheading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-align: center;
    color: var(--text-body);
    margin-bottom: 8px;
}

.hinweise__heading {
    font-size: 1.85rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hinweise__intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 36px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.info-boxes {
    max-width: 800px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-box {
    border: 1px solid #ddd;
    padding: 28px 32px;
    text-align: center;
    background: var(--off-white);
}

.info-box__title {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.info-box__text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-body);
}

.table-wrapper {
    max-width: 860px;
    margin: 0 auto 50px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.krankenfahrten-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    line-height: 1.5;
    background: var(--white);
}

.krankenfahrten-table th {
    background: var(--brown-primary);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    padding: 14px 16px;
    text-align: left;
    white-space: nowrap;
}

.krankenfahrten-table td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.krankenfahrten-table tbody tr:nth-child(even) {
    background: #f9f7f2;
}

.krankenfahrten-table tbody tr:hover {
    background: #f0ece2;
}

.krankenfahrten-table .bemerkung {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

.tipp-section {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.tipp__label {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
}

.tipp__text {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.tipp__phone {
    color: var(--brown-primary);
    font-weight: 600;
    text-decoration: underline;
    font-size: 1rem;
}

.contact-form {
    max-width: 560px;
    margin: 36px auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.form-group label .required {
    color: #c0392b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: #f5f5f5;
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brown-primary);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group__counter {
    text-align: right;
    font-size: 0.75rem;
    color: #999;
    margin-top: 4px;
}

.btn-submit {
    display: block;
    margin: 24px auto 0;
    padding: 12px 36px;
    background: var(--brown-primary);
    color: var(--white);
    border: 2px solid var(--brown-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-submit:hover {
    background: var(--brown-dark);
    border-color: var(--brown-dark);
}

.reviews-section {
    text-align: center;
    padding: 50px 0 60px;
}

.reviews__business {
    font-size: 1rem;
    color: var(--text-body);
    margin-bottom: 12px;
}

.reviews__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.reviews__score {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.reviews__von {
    font-size: 0.75rem;
    color: #888;
    text-align: left;
    line-height: 1.3;
}

.reviews__stars {
    display: flex;
    gap: 2px;
}

.reviews__stars svg {
    width: 24px;
    height: 24px;
    fill: var(--gold-star);
}

.reviews__count {
    font-size: 0.88rem;
    color: #888;
    margin-top: 4px;
}

.footer {
    background: var(--brown-primary);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer__col p {
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer__col a {
    color: var(--text-light);
    transition: color 0.2s;
}

.footer__col a:hover {
    color: var(--white);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__links a {
    font-size: 0.88rem;
}

.footer__logo {
    display: flex;
    align-items: center;
}

.footer__logo-img {
    height: 40px;
    width: auto;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.78rem;
    opacity: 0.6;
}

.page-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--white);
}

.page-content {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px 70px;
    width: 100%;
}

.page-content h2 {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.page-content .datenschutz-title {
    font-size: 1.6rem;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0;
    margin-bottom: 20px;
}

.page-content .impressum-h2 {
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 30px;
    margin-bottom: 8px;
    font-weight: 600;
}

.page-content h3 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-style: italic;
}

.page-content p {
    margin-bottom: 14px;
    font-size: 0.94rem;
    line-height: 1.8;
}

.page-content ul {
    margin: 0 0 14px 24px;
    font-size: 0.94rem;
    line-height: 1.8;
}

.page-content a {
    color: var(--brown-primary);
    text-decoration: underline;
}

.page-content a:hover {
    color: var(--brown-dark);
}

.page-content .section-intro {
    font-size: 0.94rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 0;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 14px 24px;
        border-bottom: none;
        font-size: 0.78rem;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: #f9f5ec;
        border-bottom: none;
    }

    .navbar .container {
        position: relative;
    }

    .hero {
        min-height: 360px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero__separator svg {
        height: 50px;
    }

    .section {
        padding: 50px 0;
    }

    .section__heading,
    .hinweise__heading {
        font-size: 1.5rem;
    }

    .top-bar .container {
        gap: 14px;
        font-size: 0.75rem;
    }

    .service-card,
    .info-box {
        padding: 22px 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__links {
        align-items: center;
    }

    .krankenfahrten-table {
        font-size: 0.78rem;
    }

    .krankenfahrten-table th,
    .krankenfahrten-table td {
        padding: 10px 12px;
    }

    .page-hero {
        padding: 40px 20px;
    }

    .page-hero h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section__heading,
    .hinweise__heading {
        font-size: 1.3rem;
    }

    .top-bar__item:first-child {
        display: none;
    }
}
