/* =========================================================
   Firmenfotograf Berlin – Stylesheet
   Editoriale, gehobene Optik. Alles über CSS-Variablen
   steuerbar – ideal zum Umfärben nach Optik-Vorgaben.
   ========================================================= */

:root {
    /* Farben */
    --bg:        #f6f2ea;   /* warmes Bone */
    --bg-soft:   #efe9de;   /* abgesetzte Sektionen */
    --surface:   #fffefb;   /* Karten */
    --ink:       #20201d;   /* Near-Black, warm */
    --ink-soft:  #3a3833;
    --muted:     #6f6a60;   /* Sekundärtext */
    --line:      #e2dacd;   /* Haarlinien */
    --accent:    #9a7544;   /* gedämpftes Bronze */
    --accent-dk: #82602f;
    --primary:   #20201d;   /* für Alt-Referenzen aus dem Markup */

    /* Typografie */
    --font-display: 'Schibsted Grotesk', system-ui, -apple-system, sans-serif;
    --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --container: 100%;
    --gutter: clamp(24px, 6vw, 112px);
    --radius: 4px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
}

/* ---------- Wiederkehrende Bausteine ---------- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 16px;
}
.section-eyebrow.center { text-align: center; }

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    text-align: center;
    margin-bottom: 56px;
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
}
.reveal--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 242, 234, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, background .3s ease;
}
.header--scrolled {
    border-bottom-color: var(--line);
    background: rgba(246, 242, 234, 0.94);
}
.header__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.header__logo {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    line-height: 1.15;
}
.header__logo-name {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    white-space: nowrap;
}
.header__logo-sub {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 3px;
    white-space: nowrap;
}
.header__nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}
.header__nav-link {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}
.header__nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1.5px;
    background: var(--accent);
    transition: width .3s ease;
}
.header__nav-link:hover { color: var(--ink); }
.header__nav-link:hover::after { width: 100%; }

.header__contact {
    font-size: 13.5px;
}
.header__contact a {
    text-decoration: none;
    color: var(--muted);
    transition: color .2s ease;
}
.header__contact a:hover { color: var(--accent); }

.header__menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    color: var(--ink);
    cursor: pointer;
    line-height: 1;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 92vh;
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: flex-end;
    color: #fff;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(20,18,15,0.78) 0%, rgba(20,18,15,0.30) 45%, rgba(20,18,15,0.15) 100%);
}
.hero__content {
    position: relative;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--gutter) clamp(56px, 9vh, 110px);
}
.hero__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin: 0 0 18px;
    opacity: 0;
    animation: heroUp .9s ease forwards .1s;
}
.hero h1 {
    font-size: clamp(38px, 6.4vw, 80px);
    font-weight: 500;
    max-width: 16ch;
    margin: 0 0 22px;
    text-shadow: 0 2px 30px rgba(0,0,0,0.25);
    opacity: 0;
    animation: heroUp .9s ease forwards .22s;
}
.hero__subline {
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.5;
    max-width: 46ch;
    color: rgba(255,255,255,0.92);
    margin: 0 0 34px;
    opacity: 0;
    animation: heroUp .9s ease forwards .34s;
}
.hero__cta {
    display: inline-block;
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 34px;
    border-radius: var(--radius);
    transition: transform .25s ease, background .25s ease, color .25s ease;
    opacity: 0;
    animation: heroUp .9s ease forwards .46s;
}
.hero__cta:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.hero__trustline {
    font-size: 14px;
    color: rgba(255,255,255,0.78);
    margin: 26px 0 0;
    opacity: 0;
    animation: heroUp .9s ease forwards .58s;
}
@keyframes heroUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}

/* =========================================================
   LOGOS
   ========================================================= */
.logos {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 40px 0;
    overflow: hidden;
}
.logos__label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 28px;
}
.logos__marquee {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}
/* statische Rand-Verläufe statt mask-image (sonst Main-Thread-Repaint -> Ruckeln) */
.logos__marquee::before,
.logos__marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.logos__marquee::before { left: 0;  background: linear-gradient(to right, var(--bg-soft), rgba(239,233,222,0)); }
.logos__marquee::after  { right: 0; background: linear-gradient(to left,  var(--bg-soft), rgba(239,233,222,0)); }
.logos__track {
    display: flex;
    width: max-content;
    animation: logos-scroll 50s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}
.logos__marquee:hover .logos__track { animation-play-state: paused; }
.logos__group { display: flex; align-items: center; }
.logos__item {
    flex: 0 0 auto;
    width: 188px;
    height: 88px;
    margin: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: 0 6px 18px -14px rgba(0,0,0,.4);
    transition: transform .25s ease, box-shadow .25s ease;
}
.logos__item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.logos__item:hover { transform: translateY(-4px); box-shadow: 0 12px 26px -14px rgba(0,0,0,.5); }
@keyframes logos-scroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; } }

/* =========================================================
   INTRO
   ========================================================= */
.intro {
    padding: clamp(72px, 11vh, 130px) 0;
}
.intro__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
.intro__content h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    margin-bottom: 24px;
    max-width: 16ch;
}
.intro__content p {
    color: var(--ink-soft);
    margin: 0 0 18px;
}
.intro__content p:last-child { color: var(--muted); font-size: 16px; }

.intro__value-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.intro__card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
}
.intro__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px -22px rgba(40,32,20,0.45);
}
.intro__card-mark {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--accent);
    font-weight: 600;
}
.intro__card h3 {
    font-size: 22px;
    margin: 6px 0 8px;
}
.intro__card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
    background: var(--bg-soft);
    padding: clamp(72px, 11vh, 130px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.services__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.services__card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.services__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px -28px rgba(40,32,20,0.5);
}
.services__card-image {
    aspect-ratio: 3 / 2;
    background-size: cover;
    background-position: center;
}
.services__card-body { padding: 30px 32px 34px; }
.services__card h3 {
    font-size: 25px;
    margin-bottom: 12px;
}
.services__card > .services__card-body > p {
    color: var(--ink-soft);
    margin: 0 0 18px;
    font-size: 16px;
}
.services__card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.services__card li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 15px;
}
.services__card li::before {
    content: '';
    position: absolute;
    left: 0; top: 11px;
    width: 8px; height: 8px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
}

/* =========================================================
   PROCESS
   ========================================================= */
.process {
    padding: clamp(72px, 11vh, 130px) 0;
}
.process__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.process__steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    counter-reset: step;
}
.process__step { text-align: center; }
.process__icon {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--accent);
}
.process__icon svg { width: 32px; height: 32px; }
.process__badge {
    position: absolute;
    top: -6px; right: -6px;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.process__step h3 { font-size: 20px; margin-bottom: 8px; }
.process__step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
    background: var(--ink);
    color: #f4efe6;
    padding: clamp(72px, 11vh, 130px) 0;
}
.testimonials__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.testimonials .section-eyebrow { color: #c8a368; }
.testimonials__heading { margin-bottom: 40px; }
.testimonials .section-title { color: #f4efe6; }
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}
@media (max-width: 980px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonials__grid { grid-template-columns: 1fr; } }
.testimonials__card {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 26px 26px;
    background: rgba(255,255,255,0.02);
}
.testimonials__quote {
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 1.55;
    font-style: italic;
    color: #f4efe6;
    position: relative;
    padding-top: 24px;
}
.testimonials__quote::before {
    content: '“';
    position: absolute;
    top: -10px; left: -4px;
    font-family: var(--font-display);
    font-size: 60px;
    color: #c8a368;
    line-height: 1;
}
.testimonials__author {
    margin: 22px 0 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(244,239,230,0.7);
}

/* =========================================================
   PORTFOLIO
   ========================================================= */
.portfolio {
    background: var(--bg-soft);
    padding: clamp(72px, 11vh, 130px) 0;
    border-top: 1px solid var(--line);
}
.portfolio__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.portfolio__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .4s ease;
    cursor: pointer;
}
.portfolio__img:hover {
    transform: scale(1.03);
    filter: saturate(1.05);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
    padding: clamp(72px, 11vh, 130px) 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.faq__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.faq__item {
    border-bottom: 1px solid var(--line);
}
.faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 26px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    color: var(--ink);
}
.faq__toggle {
    flex-shrink: 0;
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    color: var(--accent);
    transition: transform .3s ease;
}
.faq__item.open .faq__toggle { transform: rotate(45deg); }
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}
.faq__item.open .faq__answer { max-height: 320px; }
.faq__answer p {
    margin: 0;
    padding: 0 0 26px;
    color: var(--muted);
    font-size: 16px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
    background: var(--bg-soft);
    padding: clamp(72px, 11vh, 130px) 0;
    border-top: 1px solid var(--line);
}
.contact__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.contact__intro {
    text-align: center;
    color: var(--muted);
    max-width: 600px;
    margin: -34px auto 52px;
}
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    align-items: start;
}
.contact__info-box,
.contact__form-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 36px 40px;
}
.contact__info-box h3,
.contact__form-box h3 {
    font-size: 22px;
    margin-bottom: 22px;
}
.contact__link-item {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--ink-soft);
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    transition: color .2s ease;
    font-size: 15.5px;
}
.contact__icon { flex-shrink: 0; color: var(--accent); }
.contact__link-item:last-child { border-bottom: none; }
.contact__link-item:hover { color: var(--accent); }

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

.form-error {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #b23a2e;
}
.contact__form input.invalid,
.contact__form textarea.invalid {
    border-color: #b23a2e;
    box-shadow: 0 0 0 2px rgba(178,58,46,0.12);
}

.contact__form input,
.contact__form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 15.5px;
    color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: #a59d8e; }
.contact__form input:focus,
.contact__form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(154,117,68,0.12);
}
.contact__form textarea { resize: vertical; min-height: 130px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

.contact__submit {
    width: 100%;
    background: var(--ink);
    color: #f4efe6;
    border: none;
    border-radius: var(--radius);
    padding: 16px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s ease, transform .2s ease;
}
.contact__submit:hover { background: var(--accent-dk); transform: translateY(-2px); }
.contact__submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-note { text-align: center; color: var(--muted); font-size: 13.5px; margin: 14px 0 0; }
.form-success {
    text-align: center;
    font-weight: 600;
    color: var(--accent-dk);
    background: #efe6d5;
    border: 1px solid #e4d3b4;
    border-radius: var(--radius);
    padding: 26px 22px;
    line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer .footer__claim {
    font-family: var(--font-display);
    font-size: clamp(15px, 1.8vw, 19px) !important;
    font-weight: 600;
    color: rgba(244,239,230,0.96);
    margin: 0 0 14px !important;
    letter-spacing: .01em;
}

.footer {
    background: var(--ink);
    color: rgba(244,239,230,0.8);
    text-align: center;
    padding: 44px var(--gutter);
}
.footer p { margin: 0; font-size: 14px; }
.footer__links { margin-top: 12px !important; }
.footer__links a { color: rgba(244,239,230,0.7); text-decoration: none; transition: color .2s ease; }
.footer__links a:hover { color: #c8a368; }
.footer__links span { margin: 0 8px; opacity: 0.4; }

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease, background .25s ease, color .25s ease;
    z-index: 90;
    box-shadow: 0 10px 30px -12px rgba(40,32,20,0.4);
}
.back-to-top--visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
    .services__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
    .intro__container { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .process__steps { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .testimonials__grid { grid-template-columns: 1fr; }
    .portfolio__grid { grid-template-columns: repeat(3, 1fr); }
    .contact__content { grid-template-columns: 1fr; }
    .logos__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .services__grid { grid-template-columns: 1fr; }
    .header__contact { display: none; }
    .header__menu-toggle { display: block; }
    .header__nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
    }
    .header__nav.active { max-height: calc(100vh - 60px); overflow-y: auto; }
    .header__nav-list {
        flex-direction: column;
        gap: 0;
        padding: 8px var(--gutter) 16px;
    }
    .header__nav-list li { border-bottom: 1px solid var(--line); }
    .header__nav-list li:last-child { border-bottom: none; }
    .header__nav-link { display: block; padding: 14px 0; }

    .hero { min-height: 88vh; }
    .process__steps { grid-template-columns: 1fr; }
    .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
    .contact__intro { margin-top: -18px; }
    .section-title { margin-bottom: 40px; }
}

/* =========================================================
   LEGAL (Impressum & Datenschutz auf einer Seite)
   ========================================================= */
.header--solid {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}
.legal {
    padding: clamp(48px, 8vh, 96px) 0 clamp(64px, 10vh, 120px);
}
.legal__container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.legal h1 {
    font-size: clamp(30px, 4.5vw, 46px);
    margin: 4px 0 28px;
}
.legal h2 {
    font-size: clamp(19px, 2.4vw, 24px);
    margin: 38px 0 12px;
}
.legal p {
    color: var(--ink-soft);
    margin: 0 0 14px;
    font-size: 16px;
}
.legal a { color: var(--accent-dk); }
.legal a:hover { color: var(--accent); }
.legal mark {
    background: #efe2c9;
    color: var(--accent-dk);
    padding: 1px 6px;
    border-radius: 3px;
    font-style: normal;
}
.legal__divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 64px 0;
}
.legal__disclaimer {
    margin-top: 32px;
    padding: 18px 22px;
    background: var(--bg-soft);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    font-size: 14.5px;
    color: var(--muted);
}
.legal__back {
    margin-top: 48px;
    font-weight: 600;
}
.legal section[id] { scroll-margin-top: 90px; }

/* Header-Kontakt: Trenner zwischen Mail und Telefon */
.header__contact span { margin: 0 8px; color: var(--line); }

/* Anker-Sektionen nicht unter den Sticky-Header rutschen lassen */
section[id] { scroll-margin-top: 80px; }

/* Telefonnummer im Header nicht umbrechen */
.header__contact a { white-space: nowrap; }

/* =========================================================
   WARUM (Nutzen-Abschnitt)
   ========================================================= */
.why { padding: clamp(72px, 11vh, 130px) 0; }
.why__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.why__lead {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
    color: var(--ink-soft);
    font-size: clamp(18px, 2.2vw, 23px);
    line-height: 1.5;
}
.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(32px, 4vw, 64px);
}
.why__item { padding-top: 24px; border-top: 2px solid var(--accent); }
.why__item h3 { font-size: 24px; margin: 0 0 12px; }
.why__item p { margin: 0; color: var(--muted); font-size: 16.5px; }

@media (max-width: 980px) {
    .why__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   PORTFOLIO – Masonry (CSS Columns) + Lightbox
   ========================================================= */
.pf-grid {
    /* Fallback ohne JS: CSS-Spalten-Masonry */
    column-count: 5;
    column-gap: 16px;
}
.pf-item {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    break-inside: avoid;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    line-height: 0;
}
.pf-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.pf-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(20,18,15,0);
    transition: background .3s ease;
}
.pf-item:hover img { transform: scale(1.04); filter: saturate(1.05); }
.pf-item:hover::after { background: rgba(20,18,15,0.06); }

/* JS-Masonry: Flex-Spalten, volle Bilder ohne Beschnitt, Reihenfolge erhalten */
.pf-grid.is-flex {
    column-count: auto;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.pf-grid.is-flex .pf-col { display: flex; flex-direction: column; gap: 16px; flex: 1 1 0; min-width: 0; }
.pf-grid.is-flex .pf-item { margin: 0; width: 100%; }

/* Mobil: 2 Spalten (= 10 Reihen bei 20 Bildern) */
@media (max-width: 640px) {
    .pf-grid { column-count: 2; column-gap: 12px; }
    .pf-grid.is-flex { gap: 12px; }
    .pf-grid.is-flex .pf-col { gap: 12px; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18,16,13,0.93);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    padding: 24px;
}
.lightbox--open { opacity: 1; pointer-events: auto; }
.lightbox__img {
    max-width: 92vw;
    max-height: 86vh;
    width: auto;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.lightbox__btn {
    position: absolute;
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    width: 52px; height: 52px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
    position: absolute;
    bottom: 22px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.8);
    font-size: 14px;
    letter-spacing: .05em;
}
@media (max-width: 600px) {
    .lightbox__btn { width: 44px; height: 44px; font-size: 24px; }
    .lightbox__prev { left: 10px; }
    .lightbox__next { right: 10px; }
    .lightbox__close { top: 12px; right: 12px; }
}

/* =========================================================
   ÜBER MICH (Layout wie Praxiswebsite: Porträt + Text)
   ========================================================= */
.about {
    padding: clamp(72px, 11vh, 130px) 0;
    border-top: 1px solid var(--line);
}
.about__container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.about__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}
.about__text h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    margin: 6px 0 20px;
}
.about__lead {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.5;
    color: var(--ink);
    margin: 0 0 22px;
}
.about__text p { color: var(--ink-soft); margin: 0 0 16px; }
.about__text p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
    .about__container { grid-template-columns: 1fr; gap: 32px; }
    .about__image { max-width: 440px; }
}

/* Lightbox: Vollbild-Button (neben Schließen) */
.lightbox__fs { top: 22px; right: 86px; }
.lightbox__fs svg { display: block; }
.lightbox:fullscreen { background: rgba(10,9,8,0.98); }
.lightbox:fullscreen .lightbox__img { max-height: 92vh; }
@media (max-width: 600px) {
    .lightbox__fs { top: 12px; right: 64px; width: 44px; height: 44px; }
}

/* =========================================================
   BUTTONS / CTA-GRUPPEN
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    padding: 16px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn__icon { flex-shrink: 0; }
.btn--solid { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.btn--solid:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-dk); color: #fff; border-color: var(--accent-dk); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.65); }
.btn--outline-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

.cta-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; max-width: 680px; }
.cta-group--center { margin-left: auto; margin-right: auto; }

/* Hero: zwei Buttons nebeneinander */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: stretch;
    max-width: 680px;
    opacity: 0;
    animation: heroUp .9s ease forwards .46s;
}
/* CTA-Buttons immer gleiche Größe: paarweise gleich breit, gleiche Höhe */
.cta-group .btn,
.hero__actions .btn { flex: 1 1 240px; }


/* Ablauf: Untertitel unter dem Titel */
.process .section-title { margin-bottom: 14px; }
.process__sub {
    text-align: center;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 52px;
    font-size: 17px;
}

.services .section-title { margin-bottom: 14px; }


/* WhatsApp-Link im Kontaktbereich */
