/* =====================
   CSS RESET & BASELINE
   ===================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
    display: block;
}
body {
    line-height: 1.6;
    background: #fff;
    color: #1a1a1a;
    font-family: 'Open Sans', Arial, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    color: #1B4237;
    text-decoration: none;
    transition: color 0.2s;
}
a:focus, a:hover, .cta-primary:hover, .cta-primary:focus {
    outline: none;
    color: #000;
}
ul, ol {
    list-style: none;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}
input, select, textarea {
    font: inherit;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #1a1a1a;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}
h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.18rem;
    margin-bottom: 16px;
}
p, li, table, span, td {
    font-size: 1rem;
    color: #232323;
}
strong {
    font-weight: 700;
    color: #111;
}
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.content-wrapper {
    width: 100%;
    margin: 0 auto;
}
body {
    background: #fff;
    color: #181818;
}

/* =====================
   BRAND PALETTE
   ===================== */
:root {
    --ff-primary: #1B4237;
    --ff-secondary: #f1cfa3;
    --ff-accent: #fcefe4;
    --mono-white: #fff;
    --mono-black: #181818;
    --mono-mid: #888;
    --border-light: #E5E5E5;
    --border-mid: #222;
    --shadow-s: 0 2px 8px 0 rgba(0,0,0,0.06);
    --shadow-m: 0 4px 24px 0 rgba(0,0,0,0.12);
}

/* =====================
   HEADER & NAVIGATION
   ===================== */
header {
    width: 100%;
    background: var(--mono-white);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    gap: 12px;
}
nav ul {
    display: flex;
    gap: 24px;

}
nav ul li a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    color: var(--mono-black);
    text-decoration: none;
    padding: 7px 6px;
    border-radius: 7px;
    transition: background 0.18s, color 0.18s;
    position: relative;
    z-index: 2;
    font-weight: 500;
}
nav ul li a:hover, nav ul li a:focus {
    background: var(--ff-accent);
    color: var(--ff-primary);
}
nav > a img {
    height: 44px;
    width: auto;
}
.cta-primary {
    background: var(--mono-black);
    color: var(--mono-white);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    padding: 12px 26px;
    font-size: 1rem;
    border-radius: 22px;
    letter-spacing: 0.03rem;
    box-shadow: var(--shadow-s);
    transition: background 0.16s, color 0.16s, box-shadow 0.24s, transform 0.17s;
    margin-left: 12px;
    display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
    background: var(--ff-primary);
    color: var(--ff-secondary);
    box-shadow: var(--shadow-m);
    transform: translateY(-2px) scale(1.03);
}

/* Hamburger button */
.mobile-menu-toggle {
    display: none;
    background: var(--mono-black);
    color: var(--mono-white);
    border-radius: 50%;
    font-size: 2rem;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    transition: background 0.16s, box-shadow 0.2s;
    z-index: 110;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
    background: var(--ff-primary);
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(24,24,24,0.96);
    z-index: 1200;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transition: transform 0.34s cubic-bezier(.56,.11,.31,1.13);
    transform: translateX(100%);
    padding-top: 28px;
}
.mobile-menu.open {
    display: flex;
    transform: translateX(0%);
}
.mobile-menu-close {
    align-self: flex-end;
    font-size: 2.2rem;
    background: none;
    color: var(--mono-white);
    margin: 0 24px 14px 0;
    padding: 0 10px 0 0;
    border-radius: 7px;
    transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background: rgba(255,255,255,0.06);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 42px;
    gap: 12px;
    margin-top: 30px;
    width: 100%;
}
.mobile-nav a {
    color: var(--mono-white);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.22rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 13px 0;
    border-radius: 7px;
    transition: background 0.16s, color 0.16s;
    width: 100%;
    display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
    color: var(--ff-secondary);
    background: rgba(255,255,255,0.08);
}

/* =====================
   SECTIONS, CARDS, LAYOUT
   ===================== */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--mono-white);
    border-radius: 18px;
    box-shadow: var(--shadow-s);
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    background: var(--mono-white);
    border-radius: 15px;
    box-shadow: var(--shadow-m);
    padding: 28px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: box-shadow 0.22s, transform 0.13s;
}
.card:hover {
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.16);
    transform: translateY(-3px) scale(1.02);
}
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--mono-white);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-s);
    transition: box-shadow 0.22s;
    flex: 1 1 320px;
    max-width: 540px;
}
.testimonial-card p {
    color: var(--mono-black);
    font-size: 1.09rem;
    font-family: 'Open Sans', Arial, sans-serif;
    margin-bottom: 2px;
}
.testimonial-card span {
    color: var(--mono-mid);
    font-size: 0.99rem;
    font-style: italic;
    margin-left: 16px;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-m);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    background: var(--mono-white);
    border-radius: 12px;
    box-shadow: var(--shadow-s);
    padding: 20px;
    margin-bottom: 20px;
}
.text-section {
    margin-bottom: 22px;
    font-size: 1rem;
    color: #232323;
    line-height: 1.8;
}

/* Feature-like list structure (index.html Stärken) */
section ul {
    list-style: none;
    margin: 0 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
section ul li {
    padding: 18px 18px 16px 18px;
    background: var(--mono-white);
    border-radius: 12px;
    box-shadow: var(--shadow-s);
    margin-bottom: 20px;
    min-width: 240px;
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 1.06rem;
}
section ul li img {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
    filter: grayscale(100%) contrast(1.2);
}

/* Service list (preisliste/leistungen) */
section ul li span,
section ul li em {
    display: block;
    color: var(--ff-primary);
    font-size: 1rem;
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Table styles for Preise */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px 0;
    background: var(--mono-white);
    border-radius: 12px;
    box-shadow: var(--shadow-s);
    overflow: hidden;
}
thead {
    background: var(--ff-primary);
}
thead th {
    color: var(--mono-white);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    padding: 16px 8px;
    text-align: left;
    font-size: 1.16rem;
}
tbody td {
    color: #232323;
    padding: 16px 8px;
    font-size: 1rem;
    background: var(--mono-white);
    border-bottom: 1px solid var(--border-light);
}
tbody tr:last-child td {
    border-bottom: none;
}

/* =====================
  MAP AND PLACEHOLDERS
  ===================== */
.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ff-accent);
    color: var(--mono-black);
    border: 1px solid var(--border-light);
    border-radius: 11px;
    height: 165px;
    margin: 14px 0 20px 0;
    font-size: 1.12rem;
}

/* =====================
   FOOTER
   ===================== */
footer {
    width: 100%;
    background: var(--mono-black);
    padding: 38px 0 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    position: relative;
    margin-top: 42px;
}
footer nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    justify-content: center;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    max-width: unset;
}
footer nav a {
    color: var(--ff-accent);
    padding: 2px 6px;
    font-size: 1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0.01em;
    border-radius: 6px;
    transition: background 0.2s, color 0.18s;
}
footer nav a:hover, footer nav a:focus {
    background: rgba(241,207,163,0.08);
    color: #fff;
}
.footer-brand {
    margin-top: 8px;
}
.footer-brand img {
    width: 38px; height: 38px;
    display: block;
    filter: grayscale(100%) contrast(1.1);
}

/* =====================
   COOKIE CONSENT BANNER
   ===================== */
.cookie-banner {
    position: fixed;
    z-index: 2000;
    bottom: 0; left: 0;
    width: 100vw;
    background: rgba(250,250,250,0.99);
    color: #111;
    box-shadow: 0 -4px 30px 0 rgba(24,24,24,0.07);
    padding: 22px 16px 16px 16px;
    border-top: 2px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    animation: cookieIn 0.45s ease;
}
@keyframes cookieIn {
    from { transform: translateY(80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}
.cookie-banner .cookie-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    border-radius: 18px;
    border: none;
    padding: 10px 22px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.16s, box-shadow 0.21s;
    margin: 0;
}
.cookie-banner .cookie-btn.accept {
    background: var(--ff-primary);
    color: #fff;
    box-shadow: var(--shadow-s);
}
.cookie-banner .cookie-btn.accept:hover { background: #232323; color: var(--ff-secondary); }
.cookie-banner .cookie-btn.reject {
    background: #fff;
    color: var(--mono-black);
    border: 1px solid var(--border-light);
}
.cookie-banner .cookie-btn.reject:hover { background: var(--ff-accent); color: #111; }
.cookie-banner .cookie-btn.settings {
    background: none;
    color: var(--mono-black);
    text-decoration: underline;
    border: none;
}
.cookie-banner .cookie-btn.settings:hover { color: var(--ff-primary); }

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    z-index: 3000;
    left: 0; top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26,26,26,0.74);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s, visibility 0.16s;
}
.cookie-modal.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}
.cookie-modal-content {
    background: #fff;
    color: #111;
    padding: 36px 30px 26px 30px;
    border-radius: 18px;
    min-width: 320px;
    max-width: 96vw;
    box-shadow: var(--shadow-m);
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: cookieModalIn 0.32s cubic-bezier(.65,.05,.36,1.15);
    position: relative;
}
@keyframes cookieModalIn {
    from { transform: scale(0.87); opacity: 0.4; }
    to { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.cookie-modal-content .cookie-pref-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
}
.cookie-modal-content .cookie-toggle {
    width: 42px; height: 22px;
    background: var(--ff-accent);
    border-radius: 11px;
    border: 1.5px solid var(--border-light);
    position: relative;
    cursor: pointer;
    transition: background 0.16s;
    flex-shrink: 0;
}
.cookie-modal-content .cookie-toggle input[type=checkbox] {
    opacity: 0;
    position: absolute;
    width: 42px;
    height: 22px;
    left: 0;
    top: 0;
    margin: 0;
}
.cookie-modal-content .cookie-toggle .toggle-dot {
    position: absolute;
    left: 3px; top: 2.5px;
    width: 17px; height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.033);
    transition: left 0.17s;
}
.cookie-modal-content .cookie-toggle input:checked + .toggle-dot {
    left: 22px;
    background: var(--ff-secondary);
}
.cookie-modal-content .pref-desc {
    color: #232323;
    font-size: 0.98rem;
    margin-left: 8px;
}
.cookie-modal-content .cookie-btn-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 12px;
}
.cookie-modal-content .cookie-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    border-radius: 14px;
    padding: 8px 22px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.16s, color 0.14s;
}
.cookie-modal-content .cookie-btn.save {
    background: var(--ff-primary);
    color: #fff;
}
.cookie-modal-content .cookie-btn.save:hover { background: #232323; }
.cookie-modal-content .cookie-btn.cancel {
    background: #fff;
    color: #181818;
    border: 1px solid var(--border-light);
}
.cookie-modal-content .cookie-btn.cancel:hover { background: var(--ff-accent); }
.cookie-modal-close {
    position: absolute;
    top: 20px; right: 24px;
    font-size: 1.45rem;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.17s;
}
.cookie-modal-close:hover {
    color: var(--ff-primary);
}

/* =======================
   MISC/ELEMENT UTILITIES
   ======================= */
.tagline {
    font-size: 1.2rem;
    color: var(--mono-mid);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
    margin-top: -10px;
}

hr {
    border: 0;
    border-top: 1px solid var(--border-light);
    margin: 40px 0;
}

/* =====================
   RESPONSIVE & FLEXBOX
   ===================== */

@media (max-width: 1024px) {
    .container, nav {
        max-width: 96vw;
        padding: 0 12px;
    }
    .section {
        padding: 26px 9px;
    }
    table th, table td {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media (max-width: 900px) {
    nav ul {
        gap: 14px;
    }
    .card-container, .content-grid, .features {
        gap: 14px;
    }
}

@media (max-width: 820px) {
    nav {
        min-height: 64px;
    }
    .footer-brand img {
        width: 29px;
        height: 29px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .cta-primary {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .content-grid, .card-container, .features, .testimonial-container {
        flex-direction: column;
        gap: 18px;
    }
    .testimonial-card, .feature-item, .card {
        min-width: unset;
        max-width: unset;
    }
    .section {
        margin-bottom: 44px;
        padding: 18px 2px;
    }
    .text-image-section {
        flex-direction: column;
        gap: 14px;
    }
    .map-placeholder {
        height: 120px;
    }
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.11rem;
    }
    .cookie-modal-content {
        padding: 24px 10px 18px 10px;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    nav {
        min-height: 52px;
        padding: 0 2px;
    }
    .footer-brand img {
        width: 22px;
        height: 22px;
    }
}

/* =====================
   MICRO-INTERACTIONS & FOCUS
   ===================== */
button:focus-visible, a:focus-visible, .cta-primary:focus-visible {
    outline: 2px solid var(--ff-primary);
    outline-offset: 2px;
}

.card, .feature-item, .testimonial-card {
    transition: box-shadow 0.22s, transform 0.13s;
    will-change: box-shadow, transform;
}
.card:hover, .feature-item:hover {
    z-index: 2;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.13);
    transform: translateY(-2px) scale(1.015);
}

/* =====================
   PRINT
   ===================== */
@media print {
    * { box-shadow: none !important; background: #fff !important; color: #111 !important; }
    nav, .mobile-menu-toggle, .cookie-banner, .cookie-modal, footer { display: none !important; }
    a[href]:after { content: " (" attr(href) ")"; font-size: .9em; color: #888; }
}
