/* =====================================================================
rutengeher-wien.at — Stylesheet
Schriften: Source Serif 4 + Source Sans 3 (SIL OFL), lokal eingebunden
===================================================================== */

@font-face {
font-family: "Source Serif 4";
src: url("fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2");
font-weight: 200 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Source Serif 4";
src: url("fonts/source-serif-4-latin-opsz-italic.woff2") format("woff2");
font-weight: 200 900;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Source Sans 3";
src: url("fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
font-weight: 200 900;
font-style: normal;
font-display: swap;
}

:root {
--paper: #f7f3eb;
--paper-2: #fbf9f4;
--ink: #24231f;
--ink-2: #4a463e;
--muted: #6b665b;
--line: #ded6c6;
--moss: #3d5a42;
--moss-d: #2b4030;
--moss-l: #e6ebdf;
--sage: #b9c6ad;
--ochre: #8f6428;
--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
--sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--wrap: 72rem;
--prose: 40rem;
--r: 6px;
color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: var(--serif);
font-size: 1.125rem;
line-height: 1.65;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
font-family: var(--serif);
font-weight: 600;
line-height: 1.2;
letter-spacing: -0.01em;
color: var(--ink);
text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.25rem); margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: 2.6em 0 0.6em; }
h3, .h3 { font-size: 1.25rem; margin: 1.8em 0 0.4em; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }
strong { font-weight: 650; }

a { color: var(--moss); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--moss-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }
[id] { scroll-margin-top: 1.5rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: var(--prose); }
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: var(--prose); }
.mt0 { margin-top: 0; }

.skip {
position: absolute; left: 1rem; top: -4rem;
background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 50;
font-family: var(--sans); border-radius: var(--r);
}
.skip:focus { top: 1rem; }

.eyebrow {
font-family: var(--sans);
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--ochre);
margin: 0 0 1rem;
}
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--ink-2); max-width: 38rem; }

/* ---------- Kopfbereich ---------- */
.site-header { position: relative; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 32px; height: 32px; color: var(--moss); flex: none; }
.brand-name { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.22rem; line-height: 1.1; }
.brand-sub {
display: block; font-family: var(--sans); font-size: 0.74rem; font-weight: 600;
letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem;
}

.nav-desktop ul { display: flex; align-items: center; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.nav-desktop a {
display: block; font-family: var(--sans); font-size: 1rem; font-weight: 500;
color: var(--ink-2); text-decoration: none; padding: 0.5rem 0.75rem; border-radius: var(--r);
}
.nav-desktop a:hover { background: var(--moss-l); color: var(--moss-d); }
.nav-desktop a[aria-current="page"] { color: var(--moss-d); box-shadow: inset 0 -2px 0 var(--moss); border-radius: 0; }
.nav-desktop a.nav-cta { background: var(--moss); color: #fff; font-weight: 600; margin-left: 0.5rem; border-radius: var(--r); box-shadow: none; }
.nav-desktop a.nav-cta:hover { background: var(--moss-d); }

.nav-mobile { display: none; }
.nav-mobile summary {
list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--ink);
padding: 0.55rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-2);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary svg { width: 18px; height: 18px; }
.nav-mobile[open] summary { background: var(--moss-l); border-color: var(--sage); }
.nav-mobile nav {
position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
background: var(--paper); border-bottom: 1px solid var(--line);
box-shadow: 0 14px 24px -18px rgba(36, 35, 31, 0.45);
padding: 0.25rem 1.25rem 1rem;
}
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile a {
display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line);
font-family: var(--sans); font-size: 1.1rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav-mobile a[aria-current="page"] { color: var(--moss); font-weight: 600; }

@media (max-width: 56rem) {
.nav-desktop { display: none; }
.nav-mobile { display: block; }
}

/* ---------- Buttons & Links ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn {
display: inline-flex; align-items: center; gap: 0.55rem;
font-family: var(--sans); font-weight: 600; font-size: 1.02rem; line-height: 1.2;
padding: 0.85rem 1.3rem; border-radius: var(--r); text-decoration: none;
border: 1.5px solid var(--moss);
}
.btn-primary { background: var(--moss); color: #fff; }
.btn-primary:hover { background: var(--moss-d); border-color: var(--moss-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--moss-d); }
.btn-ghost:hover { background: var(--moss-l); color: var(--moss-d); }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--moss-d); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--moss-d); }
.i-arrow { width: 1em; height: 1em; flex: none; }

.more {
display: inline-flex; align-items: center; gap: 0.45rem;
font-family: var(--sans); font-weight: 600; font-size: 1.02rem; text-decoration: none;
}
.more:hover { text-decoration: underline; }
.more .i-arrow { transition: transform 0.15s ease; }
.more:hover .i-arrow { transform: translateX(3px); }

/* ---------- Abschnitte ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pt0 { padding-top: 0; }
.pt-s { padding-top: 1rem; }
.section > .wrap > h2:first-child,
.section .prose > h2:first-child { margin-top: 0; }

.page-head { padding: 3.75rem 0 1.5rem; }
.page-head h1 { max-width: 44rem; }
.page-head .lead { margin-bottom: 0; }

/* ---------- Startseite ---------- */
.hero { padding: 4.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: 4rem; align-items: center; }
.hero .lead { margin-bottom: 0; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem 1.6rem 1.4rem; }
.card .h3 { margin: 0 0 0.55rem; }
.card p { margin: 0; font-size: 1.04rem; color: var(--ink-2); }
.card-kicker { display: block; width: 2.25rem; height: 2px; background: var(--moss); margin-bottom: 1.1rem; }

.note {
background: var(--moss-l); border-left: 4px solid var(--moss);
border-radius: 0 var(--r) var(--r) 0; padding: 2rem 2.25rem 1.5rem; max-width: 46rem;
}
.note h2 { margin-top: 0; }

.price-band { background: var(--moss-d); color: #e9eadf; padding: 3.75rem 0; }
.price-grid { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.price-band h2 { color: #fff; margin: 0 0 0.6rem; }
.price-band p { margin: 0; }
.price {
font-family: var(--serif); font-weight: 600; line-height: 1; margin: 0;
font-size: clamp(3.2rem, 2.2rem + 4vw, 4.75rem); color: #fff; letter-spacing: -0.02em; white-space: nowrap;
}
.price small {
display: block; font-family: var(--sans); font-size: 0.8rem; font-weight: 600;
letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-top: 0.75rem;
}

/* ---------- Bildplatzhalter ---------- */
.ph {
margin: 0; display: flex; align-items: center; justify-content: center; text-align: center;
padding: 1.5rem; border: 1.5px dashed var(--sage); border-radius: var(--r);
background: repeating-linear-gradient(135deg, var(--moss-l) 0 14px, #eef1e8 14px 28px);
color: var(--moss-d); font-family: var(--sans); font-size: 0.9rem; line-height: 1.45;
}
.ph span { background: rgba(251, 249, 244, 0.9); padding: 0.6rem 0.9rem; border-radius: 4px; }
.ph-portrait { aspect-ratio: 4 / 5; }
.ph-wide { aspect-ratio: 3 / 2; margin: 1.5rem 0 0.5rem; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; counter-reset: step; margin: 1rem 0 0; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 2.25rem 4.25rem; }
.steps > li::before {
content: counter(step); position: absolute; left: 0; top: 0;
width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--moss); color: #fff;
font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
display: flex; align-items: center; justify-content: center;
}
.steps > li::after { content: ""; position: absolute; left: 1.35rem; top: 3.1rem; bottom: 0.4rem; width: 1px; background: var(--sage); }
.steps > li:last-child { padding-bottom: 0.5rem; }
.steps > li:last-child::after { display: none; }
.steps h2 { margin: 0 0 0.6rem; padding-top: 0.25rem; font-size: 1.45rem; }
.aside { font-size: 1rem; color: var(--ink-2); border-left: 3px solid var(--sage); padding: 0.1rem 0 0.1rem 1rem; }

.limits { list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.limits li { position: relative; padding: 1rem 0 1rem 2.4rem; border-top: 1px solid var(--line); }
.limits li:last-child { border-bottom: 1px solid var(--line); }
.limits li::before {
content: ""; position: absolute; left: 0; top: 1.3rem; width: 1.25rem; height: 1.25rem;
background: var(--moss);
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M4.5 15.5 15.5 4.5' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M4.5 15.5 15.5 4.5' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.check { list-style: none; margin: 1rem 0 1.5rem; padding: 0; }
.check li { position: relative; padding-left: 2rem; margin: 0.5rem 0; }
.check li::before {
content: ""; position: absolute; left: 0; top: 0.3rem; width: 1.2rem; height: 1.2rem; background: var(--moss);
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5 8.2 14.5 16 5.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5 8.2 14.5 16 5.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 20rem); gap: 4.5rem; align-items: start; }
.about-aside { position: sticky; top: 2rem; }

/* ---------- Porträt ---------- */
.portrait { margin: 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); background: #eef0ee; }

.photo-wide { margin: 1.5rem 0 0.5rem; }
.photo-wide img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }

/* ---------- Einordnung & FAQ ---------- */
.toc { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.6rem 1.1rem; margin: 2.25rem 0 0; max-width: var(--prose); }
.toc-title { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.6rem; }
.toc ol { margin: 0; padding-left: 1.3rem; font-family: var(--sans); font-size: 1.02rem; columns: 2; column-gap: 2.5rem; }
.toc li { margin: 0.2rem 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.fn { line-height: 0; font-size: 0.7em; vertical-align: super; }
.fn a { font-family: var(--sans); font-weight: 600; text-decoration: none; padding: 0 0.08em; }
.fn a:hover { text-decoration: underline; }

.faq { margin-top: 1.5rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 1.1rem 2.75rem 1.1rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.18rem; }
.faq summary::after {
content: ""; position: absolute; right: 0.35rem; top: 1.45rem; width: 0.7rem; height: 0.7rem;
border-right: 2px solid var(--moss); border-bottom: 2px solid var(--moss);
transform: rotate(45deg); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.75rem; }
.faq summary:hover h3 { color: var(--moss-d); }
.faq .answer { padding: 0 0 1.25rem; }
.faq .answer p:last-child { margin-bottom: 0; }

.sources { list-style: none; margin: 1.25rem 0 0; padding: 0; font-size: 1rem; }
.sources li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); padding: 0.55rem 0.5rem; border-radius: var(--r); }
.sources li:target { background: #fff3cf; }
.sources .n { font-family: var(--sans); font-weight: 600; color: var(--muted); }
.sources a { word-break: break-word; }
.small { font-size: 0.98rem; color: var(--ink-2); }

/* ---------- Preise & Kontakt ---------- */
.pk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem 2rem 1.5rem; }
.panel h2 { margin: 0 0 1rem; }
.panel .price { color: var(--moss-d); font-size: clamp(3rem, 2.4rem + 2vw, 4rem); }
.panel .price small { color: var(--muted); }
.contact-list { list-style: none; margin: 1.5rem 0; padding: 0; font-family: var(--sans); }
.contact-list li { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 0.9rem; font-size: 1.2rem; }
.contact-list svg { width: 1.35rem; height: 1.35rem; color: var(--moss); flex: none; }
.contact-list .label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Offene Punkte (nur Vorschau) ---------- */
.offen {
display: block; background: #fff1b8; border: 1px solid #e3c65a; color: #574300;
font-family: var(--sans); font-size: 0.95rem; line-height: 1.45; padding: 0.75rem 1rem;
border-radius: var(--r); margin: 1.5rem 0;
}

/* ---------- Kontakt-Band ---------- */
.cta-band { background: var(--moss-l); border-top: 1px solid var(--sage); padding: 3rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 0.4rem; font-size: 1.6rem; }
.cta-band p { margin: 0; color: var(--ink-2); }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--ink); color: #d9d4c8; padding: 3.25rem 0 2rem; font-family: var(--sans); font-size: 1rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: #fff; margin: 0 0 0.35rem; }
.f-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #a9a395; margin: 0 0 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.4rem 0; }
.footer-bottom {
display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
border-top: 1px solid #3d3a33; margin-top: 2.75rem; padding-top: 1.25rem; font-size: 0.88rem; color: #a9a395;
}
.footer-bottom ul { display: flex; gap: 1.25rem; }
.footer-bottom li { margin: 0; }

/* ---------- Mobil ---------- */
@media (max-width: 56rem) {
.hero { padding: 2.75rem 0 3rem; }
.hero-grid { grid-template-columns: 1fr; gap: 2.25rem; }
.hero .ph-portrait { aspect-ratio: 3 / 2; }
.hero .portrait img { aspect-ratio: 1 / 1; object-position: 50% 45%; }
.features { grid-template-columns: 1fr; }
.price-grid { grid-template-columns: 1fr; gap: 1.5rem; }
.price-grid .btn { justify-self: start; }
.about-grid { grid-template-columns: 1fr; gap: 2rem; }
.about-aside { position: static; order: -1; max-width: 18rem; }
.pk-grid { grid-template-columns: 1fr; }
.footer-grid { grid-template-columns: 1fr; gap: 2rem; }
.toc ol { columns: 1; }
}
@media (max-width: 34rem) {
body { font-size: 1.0625rem; }
.wrap { padding: 0 1rem; }
.section { padding: 3rem 0; }
.page-head { padding: 2.5rem 0 1rem; }
.lead { font-size: 1.14rem; }
.brand-sub { font-size: 0.68rem; }
.brand-name { font-size: 1.1rem; }
.note { padding: 1.5rem 1.25rem 1rem; }
.panel { padding: 1.5rem 1.25rem 1rem; }
.steps > li { padding-left: 3.5rem; }
.steps > li::before { width: 2.3rem; height: 2.3rem; font-size: 1.1rem; }
.steps > li::after { left: 1.15rem; top: 2.7rem; }
.actions .btn { width: 100%; justify-content: center; }
.nav-mobile nav { padding: 0.25rem 1rem 1rem; }
}

@media print {
.site-header nav, .nav-mobile, .cta-band, .skip, .actions { display: none !important; }
body { background: #fff; }
.site-footer { background: #fff; color: #000; }
.site-footer a { color: #000; }
}
