:root {
    --black: #050505;
    --paper: #ffffff;
    --light: #f2f2f2;
    --shell: #eef1f5;
    --text: #111111;
    --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--shell);
}

a { color: inherit; }

.page-shell {
    max-width: var(--max);
    margin: 10px auto;
    background: var(--paper);
    box-shadow: 0 0 30px rgba(0,0,0,.04);
}

.topbar {
    height: 80px;
    min-height: 0;

    background: #050505;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 26px;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    width: auto;
}

.brand-logo {
    width: 140px;
    max-height: 75px;
    display: block;
}

.main-nav {
    display: flex;
    gap: 36px;
    align-items: center;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a:hover { opacity: .72; }

.nav-cta,
.outline-button {
    border: 1px solid currentColor;
    padding: 9px 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

.home-hero {
    min-height: 540px;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.55),
            rgba(255, 255, 255, 0.55)
        ),
        url("../images/bg_home.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

.home-hero-copy {
    padding: 50px 70px;
}

.home-hero h1 {
    font-size: 50px;
    line-height: 1.14;
    margin: 0 0 35px;
}

.home-hero p {
    font-size: 24px;
    line-height: 1.45;
    margin-bottom: 30px;
}

.statement {
    text-align: center;
    padding: 48px 30px;
}

.statement h2 {
    font-size: 38px;
    margin: 0;
    line-height: 1.28;
}

.services-overview {
    background: var(--light);
    text-align: center;
    padding: 38px 55px 48px;
}

.services-overview h2,
.prices h2 {
    font-size: 22px;
    margin-bottom: 30px;
}

.service-button-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 24px;
}

.service-tile {
    text-decoration: none;
    font-weight: 700;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.service-tile:hover { transform: translateY(-2px); }

.service-emoji { font-size: 32px; }

.about-preview,
.about-detail {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 65px;
    padding: 65px 80px;
    align-items: center;
}

.about-preview p,
.about-detail p,
.contact-intro p {
    font-size: 18px;
    line-height: 1.45;
}

.image-placeholder {
    min-height: 320px;
    background: #e7e7e7;
    border: 1px dashed #aaa;
    display: grid;
    place-items: center;
    color: #666;
    text-align: center;
    padding: 15px;
}

.image-placeholder.portrait { min-height: 420px; }

.prices {
    padding: 55px 110px 75px;
    text-align: center;
}

.price-table {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.price-table .row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 15px 10px;
}

.price-table .header {
    background: var(--light);
    font-weight: 700;
}

.offer-process {
    padding: 58px 70px 75px;
    text-align: center;
}

.offer-process h2 {
    font-size: 42px;
    margin: 0 0 55px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px;
}

.process-grid > div {
    background: var(--light);
    padding: 18px;
    text-align: left;
}

.process-grid h3 {
    font-size: 16px;
    margin: 0 0 16px;
}

.process-grid p {
    line-height: 1.35;
}

.subpage-hero {
    min-height: 340px;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.55),
            rgba(255, 255, 255, 0.55)
        ),
        url("../images/bg_home.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: grid;
    place-items: center;
    text-align: center;
}

.subpage-hero h1 {
    font-size: 48px;
    margin: 0 0 14px;
}

.about-image {
    width: 100%;
}

.about-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;

    opacity: 0.75;
}

.legal-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 70px 90px;
    background: #fff;
}

.legal-page h1 {
    font-size: 38px;
    margin-top: 0;
    margin-bottom: 45px;
}

.legal-page h2 {
    font-size: 20px;
    margin-top: 35px;
    margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
    font-size: 16px;
    line-height: 1.6;
}

.legal-page ul {
    margin-top: 8px;
    padding-left: 25px;
}

@media (max-width: 600px) {

    .legal-page {
        padding: 40px 24px 60px;
    }

    .legal-page h1 {
        font-size: 30px;
    }

    .legal-page h2 {
        font-size: 19px;
    }
}

.form-success {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #7ca57c;
    background: #edf7ed;
    font-weight: 600;
}

.form-error {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid #b36b6b;
    background: #fff0f0;
    font-weight: 600;
}

.honeypot-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.privacy-check {
    margin-top: 12px;
    margin-bottom: 10px;
}

.privacy-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.privacy-check input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

.privacy-check a {
    color: #000;
    text-decoration: underline;
    font-weight: 600;
}

.privacy-check a:hover {
    text-decoration: none;
}

.subpage-hero p { font-size: 25px; }

.services-hero .outline-button { margin-top: 30px; }

.contact-intro {
    padding: 50px 40px 65px;
}

.contact-person { margin-top: 38px; }

.center-intro {
    padding: 65px 55px;
    text-align: center;
}

.center-intro p {
    font-size: 24px;
    line-height: 1.45;
    margin: 0;
}

.service-details { padding: 40px 60px 30px; }

.service-row {
    min-height: 360px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
    padding: 45px 35px;
}

.service-row.reverse .service-text { order: 2; }
.service-row.reverse .service-icon-art { order: 1; }

.service-icon {
    width: 85px;
    height: 85px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

.service-text h2 {
    font-size: 26px;
    margin: 0 0 20px;
}

.service-text p {
    font-size: 20px;
    line-height: 1.38;
    text-align: justify;
}

.service-icon-art {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-art img {
    width: 230px;
    height: 230px;
    object-fit: contain;
}

.services-overview.compact { padding-top: 45px; }

.service-link-grid {
    max-width: 600px;
    margin: 0 auto 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.service-link-grid a {
    border: 1px solid #333;
    padding: 12px 15px;
    text-decoration: none;
    font-weight: 700;
}

.contact-form-section {
    background: var(--light);
    padding: 28px 0 38px;
}

.content-narrow {
    width: min(680px, calc(100% - 40px));
    margin: 0 auto;
}

.content-narrow h2 { font-size: 24px; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.business-choice {
    border: 0;
    padding: 0;
    margin: 0 0 4px;
}

.business-choice legend {
    font-size: 13px;
    font-style: italic;
    margin-bottom: 8px;
}

.business-choice label {
    display: block;
    margin-bottom: 7px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-form input {
    width: 100%;
}



.contact-form-section {
    background: #f3f3f3;
    padding: 55px 0 65px;
}

.content-narrow {
    width: min(840px, calc(100% - 50px));
    margin: 0 auto;
}

.content-narrow h2 {
    font-size: 28px;
    margin: 0 0 30px;
}


/* Formular */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}


/* Geschäftskunde */

.business-choice {
    border: 0;
    padding: 0;
    margin: 0;
}

.business-choice legend {
    font-size: 15px;
    font-style: italic;
    margin-bottom: 10px;
}

.radio-options {
    display: flex;
    gap: 30px;
}

.radio-options label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.radio-options input {
    width: auto;
}


/* Vorname, Nachname usw. */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}


/* Eingabefelder */

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;

    border: 1px solid #777;
    background: #fff;

    font-family: inherit;
    font-size: 15px;

    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid #222;
    outline-offset: 1px;
}


/* Dienstleistung / Anmerkungen */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-style: italic;
}

.form-group select {
    height: 44px;
}

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


/* Datenschutz */

.privacy-check {
    margin-top: 2px;
}

.privacy-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    font-size: 14px;
    line-height: 1.5;
}

.privacy-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    flex-shrink: 0;
}

.privacy-check a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}


/* Absenden */

.submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 5px;
}

.submit-row button {
    min-width: 150px;

    background: #000;
    color: #fff;

    border: 1px solid #000;
    padding: 13px 28px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}

.submit-row button:hover {
    background: #333;
}


/* Honeypot */

.honeypot-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}



@media (max-width: 650px) {

    .content-narrow {
        width: calc(100% - 32px);
    }

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

    .radio-options {
        flex-direction: column;
        gap: 8px;
    }

    .submit-row button {
        width: 100%;
    }
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #333;
    padding: 9px 10px;
    font: inherit;
    background: #fff;
}

.field-label {
    font-size: 13px;
    font-style: italic;
    margin-top: 8px;
}

.submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.submit-row button {
    background: #000;
    color: white;
    border: 0;
    padding: 11px 28px;
    font-weight: 700;
    cursor: pointer;
}

.flash {
    padding: 12px;
    margin-bottom: 16px;
    background: #e9f5e9;
    border: 1px solid #99c999;
}

.footer {
    background: #000;
    color: #fff;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 0 24px;
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 900px) {
    .topbar {
        position: static;
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav {
        gap: 14px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .home-hero h1 { font-size: 38px; }
    .home-hero p { font-size: 19px; }

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

    .about-preview,
    .about-detail,
    .service-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-row.reverse .service-text,
    .service-row.reverse .service-icon-art {
        order: initial;
    }

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

@media (max-width: 600px) {
    .page-shell { margin: 0; }

    .home-hero-copy { padding: 40px 24px; }
    .home-hero h1 { font-size: 31px; }
    .statement h2 { font-size: 28px; }

    .service-button-grid,
    .service-link-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .about-preview,
    .about-detail,
    .service-details,
    .contact-intro,
    .center-intro,
    .prices,
    .offer-process {
        padding-left: 24px;
        padding-right: 24px;
    }

    .center-intro p { font-size: 19px; }
    .service-row { padding: 30px 0; }
    .service-text p { font-size: 17px; }
    .subpage-hero h1 { font-size: 38px; }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}
