:root {
  --ink: #141515;
  --muted: #626767;
  --paper: #f7f5f1;
  --card: #ffffff;
  --line: #e7e3dc;
  --red: #b83d2e;
  --red-dark: #8f2c21;
  --dark: #1a2020;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(20, 25, 25, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 50; padding: 10px 14px; background: #fff; color: var(--ink); border-radius: 8px; }
.skip-link:focus { left: 12px; }
.topbar { background: var(--dark); color: rgba(255,255,255,.78); font-size: .82rem; }
.topbar .container { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: #fff; font-weight: 650; }
.header { position: sticky; top: 0; z-index: 20; background: rgba(247,245,241,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(20,21,21,.08); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 108px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .93rem; color: #454b4a; }
.nav a:hover, .nav a:focus-visible { color: var(--red); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 13px 20px; font-weight: 700; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; }
.nav-cta, .button-primary { background: var(--red); color: #fff; }
.nav-cta:hover, .button-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.button-secondary { background: transparent; color: var(--ink); border-color: #c9c5bd; }
.button-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: transparent; font-size: 1.25rem; }
.hero { padding: 74px 0 66px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 60px; }
.eyebrow { margin: 0 0 18px; color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.08; font-family: "Libre Baskerville", Georgia, "Times New Roman", serif; }
h1 { max-width: 650px; font-size: clamp(3rem, 4.8vw, 4.15rem); }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.35rem; }
.lead { max-width: 620px; margin: 25px 0 30px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; color: #656b69; font-size: .9rem; }
.pill { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); }
.hero-media { position: relative; min-height: 530px; }
.hero-image { height: 530px; width: 100%; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.hero-card { position: absolute; left: -26px; bottom: 28px; width: min(310px, calc(100% - 24px)); padding: 22px; border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.hero-card strong { display: block; margin-bottom: 5px; font-size: 1.02rem; }
.hero-card span { color: var(--muted); font-size: .92rem; }
.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-head { max-width: 730px; margin-bottom: 38px; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { min-height: 285px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 8px 30px rgba(20,25,25,.03); }
.service-number { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f3e7e3; color: var(--red); font-weight: 800; font-size: .88rem; }
.service p { margin: 13px 0 0; color: var(--muted); }
.service-link { margin-top: 25px; color: var(--red); font-weight: 750; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.photo-stack { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12px; align-items: end; }
.photo-stack img { width: 100%; height: 260px; object-fit: cover; border-radius: 18px; }
.photo-stack img:first-child { height: 380px; }
.photo-stack img:last-child { height: 210px; }
.check-list { display: grid; gap: 17px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.check { color: var(--red); font-weight: 900; }
.check-list strong { display: block; margin-bottom: 2px; }
.check-list span { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.step { padding: 24px 20px; border-top: 2px solid var(--red); background: #fff; border-radius: 0 0 16px 16px; }
.step-number { color: var(--red); font-weight: 900; font-size: .82rem; letter-spacing: .1em; }
.step h3 { margin-top: 12px; font-size: 1.2rem; }
.step p { margin: 9px 0 0; color: var(--muted); font-size: .94rem; }
.area { background: var(--dark); color: #fff; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.area p { color: rgba(255,255,255,.68); font-size: 1.08rem; }
.area .pill { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: rgba(255,255,255,.8); }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding-right: 26px; font-weight: 750; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; color: var(--red); font-size: 1.3rem; top: -4px; }
details[open] summary::after { content: "−"; }
details p { max-width: 700px; margin: 10px 0 0; color: var(--muted); }
.contact { background: var(--red); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact p { color: rgba(255,255,255,.78); }
.contact-links { display: grid; gap: 11px; margin-top: 28px; }
.contact-links a { color: #fff; font-weight: 750; }
.form-card { padding: 30px; border-radius: 24px; background: #fff; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .9rem; }
input, select, textarea { width: 100%; border: 1px solid #d9d5cd; border-radius: 11px; background: #fff; color: var(--ink); padding: 12px 13px; font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(184,61,46,.18); border-color: var(--red); }
textarea { min-height: 122px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .82rem; font-weight: 400; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); }
.consent a { color: var(--red); text-decoration: underline; }
.form-status { min-height: 1.6em; margin: 14px 0 0; font-weight: 700; }
.footer { padding: 45px 0 25px; background: #111616; color: rgba(255,255,255,.64); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 30px; }
.footer strong, .footer h3 { color: #fff; font-family: inherit; font-size: .95rem; letter-spacing: 0; }
.footer p { max-width: 320px; margin: 11px 0 0; font-size: .9rem; }
.footer-links { display: grid; gap: 8px; margin-top: 11px; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; margin-top: 35px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }
.legal { padding: 75px 0 100px; }
.legal main { max-width: 820px; }
.legal h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.legal h2 { margin-top: 44px; font-family: inherit; font-size: 1.45rem; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--red); text-decoration: underline; }
@media (max-width: 900px) {
  .hero-grid, .split, .area-grid, .faq, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { min-height: 420px; }
  .hero-image { height: 420px; }
  .hero-card { left: 18px; }
  .services { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq { gap: 28px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1140px); }
  .topbar .container { min-height: 38px; font-size: .74rem; }
  .topbar span { display: none; }
  .header-inner { min-height: 68px; }
  .brand img { width: 94px; }
  .has-menu .menu-toggle { display: inline-block; }
  .has-menu .nav { position: absolute; top: 68px; left: 0; right: 0; display: none; padding: 18px 14px 22px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(0,0,0,.06); }
  .has-menu .nav.is-open { display: flex; }
  html:not(.has-menu) .header-inner { flex-wrap: wrap; padding: 12px 0; }
  html:not(.has-menu) .nav { flex-wrap: wrap; gap: 12px; }
  .nav a { padding: 10px 4px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { padding: 52px 0 45px; }
  h1 { font-size: clamp(2.4rem, 11.8vw, 3.3rem); }
  .hero-media { min-height: 330px; }
  .hero-image { height: 330px; border-radius: 22px; }
  .hero-card { position: relative; left: auto; bottom: auto; width: calc(100% - 24px); margin: -58px auto 0; }
  .section { padding: 72px 0; }
  .photo-stack img:first-child { height: 280px; }
  .photo-stack img:last-child { height: 165px; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .form-card { padding: 21px; }
  .footer-grid { grid-template-columns: 1fr; gap: 23px; }
  .footer-bottom { flex-direction: column; }
}

/* Focus, anchored sections and narrow screens. */
:focus-visible { outline: 3px solid #247b9c; outline-offset: 4px; }
section[id] { scroll-margin-top: 95px; }
.nav .nav-cta:hover, .nav .nav-cta:focus-visible { color: white; }
.image-caption { position: absolute; top: 16px; right: 16px; z-index: 1; padding: 4px 9px; border-radius: 7px; background: rgba(0,0,0,.7); color: white; font-size: .72rem; }
.expert-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.expert-card > img { width: 100%; height: 270px; object-fit: cover; }
.expert-card-body { padding: 28px; }
.expert-card-body strong { font-size: 1.5rem; letter-spacing: -.03em; }
.expert-card-body p:not(.eyebrow), .expert-card-body span { color: var(--muted); }
.expert-card-body span { font-size: .85rem; }
.service h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.form-card .form-privacy { font-size: .81rem; color: var(--muted); margin: 18px 0 0; }
.form-privacy a { text-decoration: underline; color: var(--red); }
.form-card .form-status { color: var(--ink); }
.form-card .form-status[data-state=success] { color: #23633e; }
.form-card .form-status[data-state=error] { color: #a62e24; }
button:disabled { opacity: .7; cursor: wait; }
.contact-links a, .footer-links a { overflow-wrap: anywhere; }
.legal > .container, .service-page > .container { max-width: 820px; }
.service-page { padding: 70px 0 90px; }
.service-page h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.service-page h2 { margin-top: 48px; font-size: 2rem; }
.service-page p, .service-page li { color: var(--muted); }
.service-page li { margin-bottom: 10px; }
.service-page .button-row { margin-top: 32px; }
.breadcrumb { font-size: .85rem; margin-bottom: 30px; }
.breadcrumb a { text-decoration: underline; }
.related-services { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 35px; }
.related-services a { color: var(--red); text-decoration: underline; }
@media(max-width: 680px) {
  .hero { padding-top: 32px; }
  .lead { font-size: 1.05rem; }
  .expert-card-body { padding: 23px; }
  .expert-card > img { height: 220px; }
  .legal h1 { overflow-wrap: anywhere; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Portrait based on Ahmet's supplied reference photographs. */
.expert-card { width: 100%; max-width: 440px; justify-self: center; }
.expert-card > .expert-portrait { height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }

/* Photographs approved by Ahmet for hek-gutachten.de on 21 September 2026. */

.hero-image-work { object-position: center 28%; }
.work-section { padding-top: 45px; }
.work-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.work-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.work-photo-link { display: block; position: relative; }
.work-photo-link img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 28%; }
.work-photo-link span { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; border-radius: 7px; background: rgba(17, 22, 22, .84); color: white; font-size: .72rem; }
.work-photo-link:hover span, .work-photo-link:focus-visible span { background: var(--red-dark); }
.work-photo figcaption { padding: 24px; }
.work-photo h3 { font-size: 1.25rem; }
.work-photo p { margin: 12px 0 0; color: var(--muted); font-size: .94rem; }
@media(max-width: 900px) {
  .work-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 680px) {
  .work-gallery { grid-template-columns: 1fr; }
  .work-section { padding-top: 28px; }
  .work-photo figcaption { padding: 22px; }
}
