/* Vorstellungsseite Jacqueline Petkovic – Farben wie immobilie-rhein-main.de */
:root {
  --bg: #f4f6f8;
  --warm: #faf7f2;
  --card: #fff;
  --ink: #1a2332;
  --body: #334155;
  --muted: #5c6b7a;
  --line: #e2e8ef;
  --accent: #0b6e4f;
  --accent-dark: #085540;
  --accent-soft: #e6f4ef;
  --star: #e0a21b;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(26, 35, 50, .08);
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.container { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 99; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--ink); letter-spacing: .005em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; margin: 0 0 1.2rem; }
h3 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 .5rem; }

/* Header */
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); padding-top: env(safe-area-inset-top); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-oh { height: 26px; width: auto; }
.logo-oh.small { height: 21px; }
.brand-divider { width: 1px; height: 28px; background: var(--line); }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.main-nav { display: flex; gap: 1.4rem; }
.main-nav a { color: var(--body); text-decoration: none; font-size: .95rem; }
.main-nav a:hover { color: var(--accent); }
.header-call { font-weight: 600; text-decoration: none; color: #fff; background: var(--accent); padding: .5rem 1rem; border-radius: 999px; font-size: .95rem; white-space: nowrap; }
.show-xs { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: .85rem 1.4rem; font: inherit; font-weight: 600;
  font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; min-height: 48px; text-align: center; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn.outline:hover { background: var(--accent-soft); }
.btn.full { width: 100%; margin-top: 1.2rem; }
.stars { color: var(--star); letter-spacing: .1em; }

/* Hero */
.hero { padding: 3.5rem 0 3.5rem; background: radial-gradient(ellipse at top left, #dceee7 0%, transparent 55%), linear-gradient(180deg, #eef3f7 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.kicker, .section-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1.02; margin: 0 0 .6rem; }
.hero-title { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--body); margin: 0 0 1.4rem; }
.lead { font-size: 1.1rem; color: var(--body); margin: 0 0 1.8rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.rating-mini { display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap; color: var(--body); text-decoration: none; font-size: .95rem; }
.rating-mini strong { color: var(--ink); }
.hero-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.6; background: #e9e4dd; }
.hero-photo picture { display: block; width: 100%; height: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* Facts */
.facts { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 1.6rem 1rem; text-align: center; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.fact:first-child { border-left: 0; }
.fact-big { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; color: var(--accent-dark); }
.fact-text { color: var(--muted); font-size: .92rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.about { background: var(--warm); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3.5rem; align-items: start; }
.about-photo { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.about-copy p { color: var(--body); margin: 0 0 1rem; }
.timeline { list-style: none; padding: 0; margin: 1.8rem 0 0; border-left: 2px solid var(--accent-soft); }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .3rem 0 1.1rem 1.2rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .65rem; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.tl-year { font-family: var(--serif); font-weight: 600; color: var(--accent-dark); }
.tl-text { color: var(--body); }
.tl-text strong { display: block; color: var(--ink); font-weight: 600; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.service p { color: var(--body); margin: 0 0 1.2rem; flex: 1; }
.service-highlight { background: var(--accent); border-color: var(--accent); }
.service-highlight h3, .service-highlight p { color: #fff; }
.service-highlight .btn.primary { background: #fff; color: var(--accent-dark); align-self: flex-start; }

/* Reviews */
.reviews { background: #fff; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; }
.reviews-head h2 { margin-bottom: .4rem; }
.rating-line { display: flex; align-items: center; gap: .6rem; margin: 0; flex-wrap: wrap; }
.rating-num { font-family: var(--display); font-size: 2rem; line-height: 1; }
.rating-line .stars { font-size: 1.25rem; }
.rating-text { color: var(--muted); }
.review-grid { columns: 3 300px; column-gap: 1.2rem; }
.review-card { break-inside: avoid; -webkit-column-break-inside: avoid; display: inline-block; width: 100%; margin: 0 0 1.2rem; background: var(--warm); border: 1px solid #ece6dc; border-radius: var(--radius); padding: 1.5rem 1.5rem 1.2rem; }
.review-card blockquote { margin: .5rem 0 .9rem; }
.review-card blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.04rem; line-height: 1.6; color: var(--ink); margin: 0 0 .6rem; }
.review-card figcaption { font-size: .85rem; color: var(--muted); }
.review-card figcaption strong { color: var(--ink); }
.reviews-legal { font-size: .78rem; line-height: 1.5; color: var(--muted); max-width: 900px; margin: 1rem 0 0; }

/* References */
.references { background: var(--bg); }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-bottom: 1.2rem; }
.ref { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.ref-img { aspect-ratio: 4 / 3; background: #eef1f4; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.ref-body { padding: 1.1rem 1.3rem 1.3rem; }
.ref-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.ref-tag { font-size: .75rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: .3rem !important; }


/* Contact */
.contact { background: var(--warm); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.contact-grid p { color: var(--body); }
.region { font-size: .98rem; }
.contact-card { font-style: normal; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }
.cc-name { font-family: var(--display); font-size: 1.6rem; margin: 0; color: var(--ink) !important; }
.cc-title { font-family: var(--serif); font-style: italic; margin: .2rem 0 1.2rem; }
.cc-line { display: block; text-decoration: none; color: var(--ink) !important; padding: .75rem 0; border-top: 1px solid var(--line); margin: 0; overflow-wrap: anywhere; }
.cc-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
a.cc-line:hover { color: var(--accent) !important; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 1.8rem 0 calc(2rem + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal { font-size: .85rem; color: var(--muted); margin: .5rem 0 0; line-height: 1.5; }
.footer-inner nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-inner nav a { color: var(--muted); text-decoration: none; font-size: .92rem; padding: .3rem 0; }

@media (max-width: 1000px) { .main-nav { display: none; } }
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { padding: 2rem 0 2.5rem; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { order: -1; aspect-ratio: 4 / 3.4; border-radius: 18px; }
  .hero-photo img { object-position: 50% 50%; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 3.2rem 0; }
  .about-photo { max-width: 360px; }
  .service-grid, .ref-grid { grid-template-columns: 1fr; }
  .review-grid { columns: 1; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 2.2rem); }
  .brand-divider, .brand-name { display: none; }
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .hero h1 { font-size: 2.6rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .timeline li { grid-template-columns: 1fr; gap: .1rem; }
  .fact { padding: 1.2rem .6rem; }
  .fact-big { font-size: 1.6rem; }
  .reviews-head .btn { width: 100%; }
}

/* Nachbesserung: Mobil kompakter, Bewertungen als Wisch-Leiste */
.swipe-hint { display: none; }
@media (max-width: 900px) {
  .hero-photo { aspect-ratio: 1170 / 1228; }
  .about-photo { max-width: 300px; }
  .review-grid { columns: auto; display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; margin: 0 -1.1rem; padding: 0 1.1rem .6rem; scroll-padding: 0 1.1rem; align-items: flex-start; scrollbar-width: none; }
  .review-grid::-webkit-scrollbar { display: none; }
  .review-card { flex: 0 0 86%; scroll-snap-align: start; margin: 0; display: block; }
  .swipe-hint { display: block; font-size: .85rem; color: var(--muted); margin: -0.6rem 0 .8rem; }
}

/* Qualifikationen (statt Werdegang mit Jahreszahlen) */
.credentials { list-style: none; padding: 0; margin: 1.6rem 0 0; border-top: 1px solid #e8e1d6; }
.credentials li { position: relative; padding: .8rem 0 .8rem 1.6rem; border-bottom: 1px solid #e8e1d6; color: var(--body); }
.credentials li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.credentials strong { color: var(--ink); font-weight: 600; display: block; }
.credentials span { font-size: .92rem; color: var(--muted); }
