/*
Theme Name: Elisabeth Buchhaltung
Theme URI: https://wordpress.org/
Author: Individuelles WordPress-Design
Description: Elegantes, vollständig anpassbares One-Page-Theme für Buchhaltung und Personalverrechnung in Wallern an der Trattnach. Enthält responsives Design, Kontaktformular, Leistungsbereiche und WordPress-Customizer-Einstellungen.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: elisabeth-buchhaltung
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, translation-ready
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --ebk-ink: #183149;
    --ebk-ink-soft: #466071;
    --ebk-sage: #7e8c71;
    --ebk-gold: #c9a66b;
    --ebk-paper: #f8f6f1;
    --ebk-paper-deep: #efebe3;
    --ebk-white: #fffefb;
    --ebk-border: rgba(24, 49, 73, 0.11);
    --ebk-shadow: 0 22px 70px rgba(24, 49, 73, 0.08);
    --ebk-radius: 28px;
    --ebk-container: 1220px;
    --ebk-header-height: 88px;
    --ebk-font-heading: Georgia, "Times New Roman", serif;
    --ebk-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--ebk-header-height) + 24px);
}

body {
    margin: 0;
    color: var(--ebk-ink);
    background: var(--ebk-paper);
    font-family: var(--ebk-font-body);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

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

button,
input,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--ebk-gold);
    outline-offset: 4px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    clip-path: inset(50%);
    border: 0;
}

.skip-link:focus {
    top: 14px;
    left: 14px;
    z-index: 99999;
    width: auto;
    height: auto;
    padding: 12px 18px;
    overflow: visible;
    color: var(--ebk-white);
    background: var(--ebk-ink);
    clip: auto;
    clip-path: none;
}

.ebk-container {
    width: min(calc(100% - 48px), var(--ebk-container));
    margin-inline: auto;
}

.ebk-section {
    position: relative;
    padding-block: 112px;
}

.ebk-section--white {
    background: var(--ebk-white);
}

.ebk-section--dark {
    overflow: hidden;
    color: var(--ebk-white);
    background: var(--ebk-ink);
}

.ebk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--ebk-sage);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ebk-eyebrow::before {
    width: 26px;
    height: 1px;
    background: currentColor;
    content: "";
}

.ebk-section--dark .ebk-eyebrow {
    color: var(--ebk-gold);
}

.ebk-heading {
    margin: 0;
    font-family: var(--ebk-font-heading);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.ebk-heading em,
.ebk-hero__title em {
    color: var(--ebk-sage);
    font-style: italic;
}

.ebk-section--dark .ebk-heading em {
    color: var(--ebk-gold);
}

.ebk-lead {
    max-width: 620px;
    color: var(--ebk-ink-soft);
    font-size: clamp(17px, 2vw, 19px);
    line-height: 1.85;
}

.ebk-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 55px;
    padding: 14px 25px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--ebk-white);
    background: var(--ebk-ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.ebk-button:hover {
    transform: translateY(-2px);
    background: var(--ebk-sage);
}

.ebk-button--light {
    color: var(--ebk-ink);
    background: var(--ebk-white);
}

.ebk-button--light:hover {
    color: var(--ebk-ink);
    background: var(--ebk-paper-deep);
}

.ebk-button--ghost {
    border-color: var(--ebk-border);
    color: var(--ebk-ink);
    background: transparent;
}

.ebk-button--ghost:hover {
    border-color: var(--ebk-sage);
    color: var(--ebk-white);
    background: var(--ebk-sage);
}

.ebk-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    background: rgba(248, 246, 241, 0.9);
    backdrop-filter: blur(18px);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.admin-bar .ebk-site-header {
    top: 32px;
}

.ebk-site-header.is-scrolled {
    border-color: var(--ebk-border);
    box-shadow: 0 8px 32px rgba(24, 49, 73, 0.045);
}

.ebk-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--ebk-header-height);
    gap: 28px;
}

.ebk-brand {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.ebk-brand__mark {
    display: grid;
    width: 41px;
    height: 41px;
    place-items: center;
    border: 1px solid rgba(126, 140, 113, 0.4);
    border-radius: 50%;
    color: var(--ebk-sage);
    font-family: var(--ebk-font-heading);
    font-size: 16px;
}

.ebk-brand__name {
    display: block;
    font-family: var(--ebk-font-heading);
    font-size: 19px;
    line-height: 1.15;
}

.ebk-brand__subtitle {
    display: block;
    margin-top: 3px;
    color: var(--ebk-ink-soft);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.custom-logo-link img {
    max-width: 240px;
    max-height: 62px;
    object-fit: contain;
}

.ebk-nav-wrap {
    display: flex;
    align-items: center;
    gap: 27px;
}

.ebk-primary-nav .menu,
.ebk-primary-nav .ebk-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ebk-primary-nav a {
    color: var(--ebk-ink-soft);
    font-size: 13px;
    font-weight: 550;
    text-decoration: none;
}

.ebk-primary-nav a:hover,
.ebk-primary-nav a.is-active {
    color: var(--ebk-ink);
}

.ebk-header-cta {
    min-height: 43px;
    padding: 10px 17px;
    font-size: 12px;
}

.ebk-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ebk-border);
    border-radius: 50%;
    background: transparent;
}

.ebk-menu-toggle svg {
    width: 22px;
    height: 22px;
}

.ebk-hero {
    position: relative;
    overflow: hidden;
    padding: 106px 0 86px;
}

.ebk-hero::before {
    position: absolute;
    top: 20px;
    right: -140px;
    width: 410px;
    height: 410px;
    border: 1px solid rgba(126, 140, 113, 0.13);
    border-radius: 50%;
    content: "";
}

.ebk-hero-grid {
    display: grid;
    position: relative;
    z-index: 1;
    align-items: center;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.8fr);
    gap: 80px;
}

.ebk-hero__title {
    max-width: 760px;
    margin: 0;
    font-family: var(--ebk-font-heading);
    font-size: clamp(57px, 7.2vw, 91px);
    font-weight: 400;
    line-height: 0.99;
    letter-spacing: -0.065em;
}

.ebk-hero__description {
    max-width: 575px;
    margin: 27px 0 0;
    color: var(--ebk-ink-soft);
    font-size: 18px;
    line-height: 1.85;
}

.ebk-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 33px;
}

.ebk-hero__note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 0;
    color: var(--ebk-ink-soft);
    font-size: 13px;
}

.ebk-hero__note::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ebk-sage);
    content: "";
}

.ebk-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 495px;
    padding: 38px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 34px;
    background: linear-gradient(150deg, #efebe3 0%, #e9e5dc 60%, #e1e4da 100%);
    box-shadow: var(--ebk-shadow);
}

.ebk-hero-card::before,
.ebk-hero-card::after {
    position: absolute;
    border: 1px solid rgba(126, 140, 113, 0.17);
    border-radius: 50%;
    content: "";
}

.ebk-hero-card::before {
    right: -100px;
    bottom: 38px;
    width: 290px;
    height: 290px;
}

.ebk-hero-card::after {
    right: -58px;
    bottom: 80px;
    width: 206px;
    height: 206px;
}

.ebk-hero-card__label {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--ebk-ink-soft);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ebk-hero-card__quote {
    position: relative;
    z-index: 1;
    max-width: 310px;
    margin: 75px 0 0;
    font-family: var(--ebk-font-heading);
    font-size: 37px;
    font-weight: 400;
    line-height: 1.19;
    letter-spacing: -0.035em;
}

.ebk-hero-card__signature {
    position: absolute;
    z-index: 1;
    right: 38px;
    bottom: 40px;
    left: 38px;
    padding-top: 18px;
    border-top: 1px solid rgba(24, 49, 73, 0.16);
    color: var(--ebk-ink-soft);
    font-size: 13px;
}

.ebk-trustbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 83px;
    padding-top: 28px;
    border-top: 1px solid var(--ebk-border);
}

.ebk-trustbar__item {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--ebk-ink-soft);
    font-size: 13px;
}

.ebk-trustbar__item svg {
    flex: 0 0 19px;
    color: var(--ebk-sage);
}

.ebk-section-intro {
    display: grid;
    align-items: end;
    grid-template-columns: 1fr minmax(240px, 410px);
    gap: 60px;
    margin-bottom: 49px;
}

.ebk-section-intro .ebk-lead {
    margin: 0;
    font-size: 16px;
}

.ebk-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ebk-service-card {
    min-height: 273px;
    padding: 31px 28px;
    border: 1px solid var(--ebk-border);
    border-radius: 22px;
    background: var(--ebk-white);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.ebk-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ebk-shadow);
}

.ebk-service-card__icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 13px;
    color: var(--ebk-sage);
    background: rgba(126, 140, 113, 0.09);
}

.ebk-service-card__icon svg {
    width: 22px;
    height: 22px;
}

.ebk-service-card__title {
    margin: 24px 0 8px;
    font-family: var(--ebk-font-heading);
    font-size: 23px;
    font-weight: 400;
    line-height: 1.25;
}

.ebk-service-card__text {
    margin: 0;
    color: var(--ebk-ink-soft);
    font-size: 14px;
    line-height: 1.8;
}

.ebk-about-grid {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(280px, 0.83fr) minmax(0, 1fr);
    gap: 105px;
}

.ebk-about-portrait {
    display: flex;
    position: relative;
    min-height: 470px;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-radius: 220px 220px 24px 24px;
    background: linear-gradient(155deg, #e7e3d9 0%, #f2efe9 50%, #dce0d5 100%);
}

.ebk-about-portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ebk-about-portrait__monogram {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(126, 140, 113, 0.37);
    font-family: var(--ebk-font-heading);
    font-size: 120px;
    letter-spacing: -0.09em;
}

.ebk-about-portrait__caption {
    position: relative;
    z-index: 1;
    width: calc(100% - 38px);
    margin: 0 0 19px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 254, 251, 0.86);
    backdrop-filter: blur(12px);
}

.ebk-about-portrait__caption strong,
.ebk-about-portrait__caption span {
    display: block;
}

.ebk-about-portrait__caption strong {
    font-family: var(--ebk-font-heading);
    font-size: 18px;
    font-weight: 400;
}

.ebk-about-portrait__caption span {
    color: var(--ebk-ink-soft);
    font-size: 12px;
}

.ebk-about-copy .ebk-lead {
    margin: 24px 0 26px;
    font-size: 16px;
}

.ebk-checklist {
    display: grid;
    gap: 10px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.ebk-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.ebk-checklist svg {
    flex: 0 0 18px;
    margin-top: 5px;
    color: var(--ebk-sage);
}

.ebk-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
    margin-top: 56px;
}

.ebk-process-step {
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.ebk-process-step__number {
    color: var(--ebk-gold);
    font-family: var(--ebk-font-heading);
    font-size: 33px;
}

.ebk-process-step__title {
    margin: 14px 0 8px;
    font-family: var(--ebk-font-heading);
    font-size: 25px;
    font-weight: 400;
}

.ebk-process-step__text {
    max-width: 310px;
    margin: 0;
    color: rgba(255, 254, 251, 0.7);
    font-size: 14px;
}

.ebk-contact-grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 0.87fr) minmax(330px, 1fr);
    gap: 86px;
}

.ebk-contact-copy .ebk-lead {
    margin: 22px 0 33px;
    font-size: 16px;
}

.ebk-contact-details {
    display: grid;
    gap: 21px;
    margin: 0;
}

.ebk-contact-details__item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.ebk-contact-details__item svg {
    flex: 0 0 20px;
    margin-top: 4px;
    color: var(--ebk-sage);
}

.ebk-contact-details__item strong,
.ebk-contact-details__item a,
.ebk-contact-details__item span {
    display: block;
}

.ebk-contact-details__item strong {
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ebk-contact-details__item a,
.ebk-contact-details__item span {
    color: var(--ebk-ink-soft);
    font-size: 14px;
}

.ebk-form-card {
    padding: 34px;
    border: 1px solid var(--ebk-border);
    border-radius: 24px;
    background: var(--ebk-white);
    box-shadow: var(--ebk-shadow);
}

.ebk-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.ebk-form-field {
    display: grid;
    gap: 7px;
}

.ebk-form-field--wide {
    grid-column: 1 / -1;
}

.ebk-form-field label {
    font-size: 12px;
    font-weight: 650;
}

.ebk-form-field input,
.ebk-form-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid var(--ebk-border);
    border-radius: 10px;
    color: var(--ebk-ink);
    background: var(--ebk-paper);
    font-size: 14px;
}

.ebk-form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.ebk-form-field input:focus,
.ebk-form-field textarea:focus {
    border-color: var(--ebk-sage);
    outline: 0;
}

.ebk-form-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    grid-column: 1 / -1;
    color: var(--ebk-ink-soft);
    font-size: 12px;
    line-height: 1.7;
}

.ebk-form-consent input {
    flex: 0 0 15px;
    margin-top: 4px;
    accent-color: var(--ebk-sage);
}

.ebk-form-submit {
    width: 100%;
    margin-top: 2px;
    cursor: pointer;
}

.ebk-form-note {
    margin: 12px 0 0;
    color: var(--ebk-ink-soft);
    font-size: 11px;
    text-align: center;
}

.ebk-form-message {
    margin: 0 0 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 13px;
}

.ebk-form-message--success {
    color: #315741;
    background: #e6eee5;
}

.ebk-form-message--error {
    color: #81483f;
    background: #f7eae6;
}

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

.ebk-site-footer {
    padding-block: 30px;
    border-top: 1px solid var(--ebk-border);
    background: var(--ebk-white);
}

.ebk-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ebk-footer-copy,
.ebk-footer-links a {
    color: var(--ebk-ink-soft);
    font-size: 12px;
}

.ebk-footer-copy {
    margin: 0;
}

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

.ebk-content-shell {
    max-width: 840px;
    padding-block: 80px 110px;
}

.ebk-content-shell > h1 {
    margin-bottom: 35px;
}

.ebk-content-shell .entry-content > * + * {
    margin-top: 1em;
}

.ebk-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 550ms ease, transform 550ms ease;
}

.ebk-reveal.is-visible,
.no-js .ebk-reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1050px) {
    .ebk-nav-wrap {
        gap: 17px;
    }

    .ebk-primary-nav .menu,
    .ebk-primary-nav .ebk-menu {
        gap: 16px;
    }

    .ebk-hero-grid,
    .ebk-about-grid,
    .ebk-contact-grid {
        gap: 45px;
    }

    .ebk-hero-card {
        min-height: 460px;
    }
}

@media (max-width: 860px) {
    :root {
        --ebk-header-height: 74px;
    }

    .ebk-section {
        padding-block: 86px;
    }

    .ebk-menu-toggle {
        display: inline-flex;
    }

    .ebk-nav-wrap {
        display: none;
        position: fixed;
        top: var(--ebk-header-height);
        right: 0;
        bottom: 0;
        left: 0;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        padding: 35px 24px;
        background: var(--ebk-paper);
    }

    .admin-bar .ebk-nav-wrap {
        top: calc(var(--ebk-header-height) + 32px);
    }

    .ebk-nav-wrap.is-open {
        display: flex;
    }

    .ebk-primary-nav .menu,
    .ebk-primary-nav .ebk-menu {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .ebk-primary-nav li {
        border-bottom: 1px solid var(--ebk-border);
    }

    .ebk-primary-nav a {
        display: block;
        padding: 15px 0;
        font-family: var(--ebk-font-heading);
        font-size: 22px;
    }

    .ebk-header-cta {
        align-self: flex-start;
        margin-top: 10px;
    }

    .ebk-hero {
        padding-top: 80px;
    }

    .ebk-hero-grid,
    .ebk-about-grid,
    .ebk-contact-grid {
        grid-template-columns: 1fr;
    }

    .ebk-hero-card {
        min-height: 350px;
    }

    .ebk-hero-card__quote {
        margin-top: 45px;
    }

    .ebk-section-intro {
        grid-template-columns: 1fr;
        gap: 17px;
    }

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

    .ebk-about-portrait {
        max-width: 460px;
        min-height: 480px;
    }

    .ebk-contact-grid {
        gap: 42px;
    }
}

@media (max-width: 600px) {
    .ebk-container {
        width: min(calc(100% - 36px), var(--ebk-container));
    }

    .ebk-section {
        padding-block: 72px;
    }

    .ebk-brand__name {
        font-size: 16px;
    }

    .ebk-brand__subtitle {
        font-size: 9px;
    }

    .ebk-hero {
        padding-top: 63px;
    }

    .ebk-hero__title {
        font-size: clamp(52px, 14vw, 72px);
    }

    .ebk-hero-card {
        min-height: 325px;
        padding: 27px;
    }

    .ebk-hero-card__quote {
        font-size: 32px;
    }

    .ebk-hero-card__signature {
        right: 27px;
        bottom: 29px;
        left: 27px;
    }

    .ebk-trustbar,
    .ebk-service-grid,
    .ebk-process-grid,
    .ebk-form-grid {
        grid-template-columns: 1fr;
    }

    .ebk-trustbar {
        gap: 16px;
        margin-top: 56px;
    }

    .ebk-service-card {
        min-height: 225px;
    }

    .ebk-about-portrait {
        min-height: 410px;
    }

    .ebk-form-card {
        padding: 23px;
    }

    .ebk-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 782px) {
    .admin-bar .ebk-site-header {
        top: 46px;
    }

    .admin-bar .ebk-nav-wrap {
        top: calc(var(--ebk-header-height) + 46px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ebk-reveal {
        opacity: 1;
        transform: none;
    }
}
