/* ===== Abscheider Notdienst – base.css (alle Geräte) ===== */
:root {
    --brand: #ee7d00;
    --brand-dark: #c76800;
    --dark: #26221e;
    --text: #333;
    --muted: #6b6b6b;
    --light: #f6f4f1;
    --white: #fff;
    --maxw: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}
img, video { max-width: 100%; height: auto; }
a { color: var(--brand-dark); }
a:hover { color: var(--brand); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--dark); }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

/* Topbar */
.topbar {
    background: var(--dark);
    color: var(--white);
    font-size: .95rem;
    padding: .35rem 0;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; justify-content: center; }
.topbar-phone { color: var(--brand); font-weight: 700; text-decoration: none; }
.topbar-phone:hover { color: var(--white); }
.topbar-free { color: #bbb; }

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--brand);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 1rem; }
.site-logo img { display: block; width: 170px; height: auto; }

/* Navigation (Basis) */
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--dark); font-weight: 600; }
.main-nav a:hover, .main-nav li.active > a { color: var(--brand); }
.nav-phone {
    display: inline-block;
    background: var(--brand);
    color: var(--white) !important;
    border-radius: 4px;
    padding: .4rem .8rem;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
}
.nav-phone:hover { background: var(--brand-dark); }
.nav-phone-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.nav-phone-number { font-weight: 700; }

/* Burger (Basis, sichtbar nur mobil) */
.burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: .5rem;
}
.burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    transition: transform .25s, opacity .25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--dark); }
@media (min-height: 760px)
{
    section.hero
    {
        display: flex;
        align-content: center;
        max-height: 60dvh;
    }
}
.hero-media { display: block; width: 100%; height: 60vh; min-height: 320px; object-fit: cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(rgba(20,15,10,.25), rgba(20,15,10,.55));
}
.hero-overlay > * {
    background: rgba(38,34,30,.72);
    color: var(--white);
    padding: .5rem 1.2rem;
    border-radius: 4px;
    max-width: 46rem;
}
.hero-title { color: var(--white); font-size: 1.6rem; margin: 0 0 .6rem; }
.hero-subtitle { margin: 0 0 .6rem; font-size: 1.05rem; }
.hero-text { margin-bottom: .8rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; background: none; padding: 0; }
.hero-pos-left .hero-overlay { align-items: flex-start; text-align: left; }
.hero-pos-right .hero-overlay { align-items: flex-end; text-align: right; }
.hero-pos-left .hero-overlay > *, .hero-pos-right .hero-overlay > * { max-width: 34rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: .7rem 1.3rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}
.btn-primary
{
    display: block;
    margin-left: auto;
    background: var(--brand);
    color: var(--white);
}
.btn-primary:hover { background: var(--brand-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--dark); }
.btn-secondary:hover { background: var(--light); color: var(--dark); }

/* Breadcrumb */
.breadcrumb { font-size: .88rem; margin-top: .8rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin: 0 .5rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .current span { color: var(--dark); font-weight: 600; }

/* Inhalt */
.main-content { max-width: var(--maxw); margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.main-content .frame { margin-bottom: 2.2rem; }
.frame-type-textpic .ce-gallery img { border-radius: 6px; }
.main-content ul > li { margin-bottom: .35rem; }

/* Footer */
.site-footer { background: var(--dark); color: #ddd; margin-top: 2rem; }
.site-footer h3 { color: var(--brand); font-size: 1.05rem; margin-top: 1.4rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; gap: 1rem; padding: 1rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: .3rem; }
.footer-bottom { border-top: 1px solid #443f39; padding: .8rem 0; font-size: .88rem; color: #aaa; text-align: center; }
.footer-bottom p { margin: 0; }

/* Powermail-Formular */
.powermail_fieldwrap { margin-bottom: 1rem; }
.powermail_label, .powermail_fieldwrap label { display: block; font-weight: 600; margin-bottom: .3rem; }
.powermail_input, .powermail_textarea, .powermail_select {
    width: 100%;
    max-width: 34rem;
    padding: .6rem .8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    background: var(--white);
}
.powermail_input:focus, .powermail_textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.powermail_textarea { min-height: 9rem; }
.powermail_fieldwrap_type_check label { font-weight: 400; }
.powermail_fieldwrap_type_check input { margin-top: .3rem; }
.powermail_submit {
    background: var(--brand);
    color: var(--white);
    border: 0;
    border-radius: 4px;
    padding: .7rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}
.powermail_submit:hover { background: var(--brand-dark); }
.powermail_field_error, .powermail-errors { color: #c62828; font-size: .9rem; }
.parsley-errors-list { color: #c62828; list-style: none; padding: 0; margin: .3rem 0 0; }
.powermail_message_error { border-left: 4px solid #c62828; padding-left: 1rem; }
.powermail_confirmation, .powermail_thx { border-left: 4px solid var(--brand); padding-left: 1rem; }
