/* Andrea Ollendorf – Diplom-Restauratorin
   Farbschema: Komplementärkontrast nach Itten
   Terrakotta (Rot-Orange, ca. 14°) als Hauptfarbe,
   Petrol (Blau-Grün, ca. 190°) als Gegenfarbe, warme Neutraltöne als Grund. */
:root {
  --ink: #2b2623;          /* Schrift, warmes Dunkelbraun */
  --muted: #6b625c;        /* Nebentext */
  --bg: #faf7f2;           /* Grund, warmes Off-White */
  --card: #ffffff;
  --line: #e7e0d6;
  --primary: #a8502f;      /* Terrakotta */
  --primary-tint: #f4e6df;
  --accent: #2c6a72;       /* Petrol, Komplementärfarbe */
  --accent-tint: #e1eded;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(43, 38, 35, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
a { color: var(--accent); }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.icon { width: 1.2em; height: 1.2em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--primary); }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
}
.nav a:hover { background: var(--primary-tint); }
.nav a[aria-current="page"] { background: var(--primary); color: #fff; }

/* Hero */
.hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--primary-tint), var(--bg)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--primary); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; margin: 14px 0 14px; letter-spacing: -.02em; color: var(--ink); max-width: 860px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--accent); background: var(--accent-tint); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px;
  font-weight: 700; text-decoration: none; color: #fff; background: var(--primary);
  transition: background .15s ease;
}
.btn:hover { background: #8e4227; }
.btn.alt { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.alt:hover { background: var(--bg); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0; }
.section-head p { margin: 0; color: var(--muted); max-width: 520px; }

/* Fachgebiete */
.specs { display: flex; flex-wrap: wrap; gap: 16px; }
.specs .spec { flex: 1 1 300px; }
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.region { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.region h3 { margin: 0 0 10px; font-size: 1.15rem; }
.region h3 .icon { color: var(--accent); }
.region p { margin: 0; color: var(--muted); }
.spec { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.spec .bubble { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--primary); background: var(--primary-tint); margin-bottom: 14px; font-size: 1.25rem; }
.spec h3 { margin: 0 0 6px; }
.spec p { margin: 0; color: var(--muted); }

/* Projektkarten */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.project .cover { display: block; height: 220px; position: relative; background: var(--primary-tint); }
.project .cover img { width: 100%; height: 100%; object-fit: cover; }
.project .badge {
  position: absolute; left: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: #fff; color: var(--primary); font-size: 1.15rem;
}
.project:nth-child(4n+2) .badge, .project:nth-child(4n+3) .badge { color: var(--accent); }
.project .meta { display: flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--accent); }
.project h3 a { color: var(--ink); text-decoration: none; }
.project h3 a:hover { text-decoration: underline; }
.project .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project h3 { margin: 0; font-size: 1.2rem; line-height: 1.35; }
.project p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tag { font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--primary); }

/* Über mich / Kontakt */
.band { background: var(--accent); color: #fff; border-radius: 20px; padding: 40px; display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.band-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.band-cta { margin: 20px 0 0; }
.band h2 { margin-top: 0; font-size: 1.9rem; }
.band p { color: #e6f0f0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list li { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .1); padding: 12px 16px; border-radius: 12px; color: #fff; }
.contact-list a { color: #fff; }

/* Footer */
.site-footer { margin-top: 56px; padding: 32px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; align-items: center; }
.site-footer a { color: var(--muted); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Startseite: Bild im Kopfbereich */
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero-image { margin: 0; }
.hero-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }

/* Unterseiten */
.page-head { padding: 56px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--primary-tint), var(--bg)); }
.page-head h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; margin: 12px 0 12px; max-width: 860px; }
.page-head .lead { font-size: 1.1rem; color: var(--muted); max-width: 760px; margin: 0; }
.page-head .tags { margin-top: 8px; }
.back { display: flex; width: fit-content; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--muted); margin-bottom: 18px; }
.back:hover { color: var(--ink); }
.with-icon { display: flex; align-items: center; gap: 10px; }
.with-icon .icon { color: var(--primary); }

/* Fließtext */
.prose { max-width: 820px; }
.prose h2 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .icon { color: var(--primary); }
.prose h3 { font-size: 1.15rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--ink); }
.prose figure { margin: 22px 0; }
.prose figure img, .gallery img { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 22px 0; align-items: start; }
.gallery.three { grid-template-columns: repeat(3, 1fr); }
.gallery figure { margin: 0; }
.project-hero { margin: 32px 0 0; }
.project-hero img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.facts div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.facts dt { font-size: .82rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 4px 0 0; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--primary); }

/* Häkchen-Listen */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c6a72' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.service h2 { font-size: 1.25rem; margin: 0 0 14px; }
.bubble { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--primary); background: var(--primary-tint); margin-bottom: 14px; font-size: 1.25rem; }
.cta-box { margin-top: 32px; padding: 28px; border-radius: var(--radius); background: var(--accent-tint); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta-box p { margin: 0; font-weight: 600; color: var(--accent); font-size: 1.1rem; }

/* Vita */
.vita-grid { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.vita-side img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.vita-card { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.vita-card h2 { margin: 0 0 6px; font-size: 1.2rem; }
.vita-card p { margin: 0; }
.vita-grid > div > h2 { margin-top: 0; font-size: 1.5rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--line); display: grid; gap: 18px; }
.timeline li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 3px solid var(--bg); }
.timeline li:last-child::before { background: var(--accent); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h2 { font-size: 1.2rem; margin: 0 0 16px; }
.card p { margin: 0 0 10px; }
.span-2 { grid-column: span 2; }
.contact-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-rows li { display: flex; gap: 12px; align-items: flex-start; }
.contact-rows .icon { color: var(--accent); margin-top: 3px; }
.contact-rows .k { display: block; font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ============ Redesign: Bild-Header, Fachgebiete als Liste, ruhiger Firmenstil ============ */
:root { --radius: 6px; --shadow: 0 2px 10px rgba(43, 38, 35, .06); --hero-overlay: linear-gradient(100deg, rgba(31, 27, 25, .88) 0%, rgba(31, 27, 25, .7) 45%, rgba(31, 27, 25, .3) 100%); }

/* Navigation liegt transparent über dem Bild */
.site-header { position: absolute; left: 0; right: 0; background: transparent; backdrop-filter: none; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.brand, .brand small { color: #fff; }
.brand small { opacity: .8; }
.nav a { color: #fff; border-radius: 4px; }
.nav a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.nav a[aria-current="page"] { background: var(--primary); color: #fff; }

/* Header mit Putten-Bild */
.hero, .page-head {
  color: #fff; border-bottom: 0;
  background: var(--hero-overlay), url("../img/hero-putten.jpg") center 30% / cover no-repeat;
}
.hero { min-height: 88vh; display: flex; align-items: center; padding: 150px 0 90px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); max-width: 820px; }
.hero p.lead { color: #ebe4dd; max-width: 620px; }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow, .page-head .eyebrow { color: #f0c3ad; }
.hero-regions { display: flex; align-items: center; gap: 8px; color: #ebe4dd; font-weight: 600; margin: 0 0 30px; }
.btn { border-radius: 4px; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .7); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }

.page-head { padding: 150px 0 60px; }
.page-head h1 { color: #fff; }
.page-head .lead { color: #ebe4dd; }
.page-head .tag { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.back { color: #ebe4dd; }
.back:hover { color: #fff; }

/* Fachgebiete als Liste */
.fields-section { padding: 88px 0 56px; }
.fields-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; align-items: start; }
.kicker { color: var(--primary); }
.fields-intro h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 10px 0 14px; line-height: 1.15; }
.fields-intro p { color: var(--muted); margin: 0 0 20px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.field-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.field-list li { border-bottom: 1px solid var(--line); }
.field-list a { display: grid; grid-template-columns: 52px 1fr 28px; gap: 18px; align-items: center; padding: 22px 6px; color: var(--ink); text-decoration: none; transition: background .15s ease; }
.field-list a:hover { background: var(--primary-tint); }
.field-icon { width: 48px; height: 48px; border-radius: 6px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); font-size: 1.25rem; }
.field-list a:hover .field-icon { background: var(--primary); color: #fff; }
.field-text { display: grid; gap: 2px; }
.field-title { font-weight: 700; font-size: 1.2rem; }
.field-desc { color: var(--muted); }
.field-more { color: var(--primary); font-size: 1.2rem; }

/* Abschnittsköpfe wie Vorlage */
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.project, .region, .service, .card, .spec, .vita-card, .timeline li, .facts div { border-radius: var(--radius); }
.project .cover img { transition: transform .4s ease; }
.project:hover .cover img { transform: scale(1.04); }
.project .badge { border-radius: 4px; }
.meta { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem !important; }
.band { border-radius: var(--radius); }
.band-photo, .vita-side img, .project-hero img, .prose figure img, .gallery img { border-radius: 4px; }

/* Dunkler Footer, mehrspaltig */
.site-footer { background: var(--ink); color: #cfc6be; border-top: 0; padding: 64px 0 0; margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; }
.footer-grid p { margin: 0 0 12px; }
.footer-grid h2 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.footer-brand .icon { color: #f0c3ad; }
.site-footer a { color: #fff; font-weight: 500; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; }
.site-footer .wrap.footer-grid { display: grid; justify-content: normal; }
.site-footer .wrap.footer-bottom { display: flex; justify-content: space-between; }

/* ============ Name im Vordergrund, randlose Flächen, Über mich hell ============ */
.brand-name { font-size: 1.2rem; letter-spacing: -.01em; }
.brand-name small { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { display: grid; gap: 14px; max-width: 900px; }
.hero-name { font-size: clamp(3rem, 8vw, 5.6rem); line-height: 1; letter-spacing: -.03em; }
.hero-sub { font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.25; font-weight: 600; color: #ebe4dd; letter-spacing: -.01em; }

/* Randlose Flächen: keine Rahmen, keine Schatten, Abgrenzung nur über Flächenfarbe */
.project, .region, .spec, .service, .card, .vita-card, .timeline li, .facts div, .cta-box {
  border: 0; box-shadow: none;
}
.prose figure img, .gallery img { border: 0; }
.tag { border: 0; background: var(--primary-tint); color: var(--primary); }
.page-head .tag { background: rgba(255, 255, 255, .16); color: #fff; }
.btn.alt { border: 0; }
.fields-section { background: transparent; }

/* Über mich im gleichen Farbschema wie die übrigen Flächen */
.band { background: var(--card); color: var(--ink); box-shadow: none; padding: 48px; }
.band h2 { color: var(--ink); }
.band p { color: var(--muted); }
.contact-list li { background: var(--bg); color: var(--ink); border-radius: 4px; }
.contact-list .icon { color: var(--primary); }
.contact-list a { color: var(--ink); }
.band .btn.alt { background: var(--primary); color: #fff; }
.band .btn.alt:hover { background: #8e4227; }

/* Scrollleiste ausblenden (Scrollen per Mausrad, Touch und Tastatur bleibt möglich) */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
html, body { overflow-x: clip; }
/* Lange Wörter umbrechen statt seitlich überzustehen */
h1, h2, h3, p, li, dd, a { overflow-wrap: break-word; hyphens: auto; }

@media (max-width: 760px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .nav a { padding: 6px 10px; font-size: .9rem; }
  .hero { padding: 48px 0 36px; }
  .projects, .regions { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 28px 22px !important; }
  .band-photo { aspect-ratio: 4 / 3; }
  .hero { min-height: 0; padding: 200px 0 56px; background-position: 70% 30%; }
  .page-head { padding: 200px 0 40px; }
  .fields-grid { grid-template-columns: 1fr; gap: 28px; }
  .field-list a { grid-template-columns: 44px 1fr 20px; gap: 14px; padding: 18px 2px; }
  .field-icon { width: 44px; height: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-grid, .vita-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .span-2 { grid-column: auto; }
  .gallery, .gallery.three, .facts { grid-template-columns: 1fr; }
  .project .cover { height: 190px; }
}
