/* ==========================================================================
   SMOLKA DIGITAL MANAGEMENT LLC — helles, ruhiges Layout
   Alle Schriften sind System-Schriften. Es wird KEINE externe Ressource
   geladen (kein Google-Fonts-CDN). DSGVO-sicher und schnell.
   ========================================================================== */

:root {
  --bg:          #ffffff;
  --bg-warm:     #faf9f7;
  --bg-card:     #ffffff;
  --border:      #e8e6e1;
  --border-soft: #f0eeea;

  --text:        #1c1917;
  --text-muted:  #57534e;
  --text-dim:    #a8a29e;

  --accent:       #15803d;
  --accent-hover: #166534;
  --accent-soft:  #f2fbf5;
  --accent-line:  #c7ead4;

  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .04);
  --shadow:    0 2px 8px rgba(28, 25, 23, .05), 0 1px 2px rgba(28, 25, 23, .04);
  --shadow-lg: 0 8px 28px rgba(21, 128, 61, .18);

  --radius:    16px;
  --radius-sm: 10px;
  --max:       1060px;
  --pad:       clamp(1.25rem, 5vw, 2.5rem);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

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

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

::selection { background: var(--accent-line); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff;
  padding: .75rem 1.25rem; z-index: 999; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- Layout ------------------------------------------------------------- */

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-warm { background: var(--bg-warm); border-block: 1px solid var(--border-soft); }

/* --- Typografie --------------------------------------------------------- */

h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; }

h1 { font-size: clamp(2rem, 4.8vw, 3.15rem); letter-spacing: -.032em; line-height: 1.13; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); letter-spacing: -.025em; }
h3 { font-size: 1.05rem; font-weight: 650; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 650;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: .38rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.lead { font-size: clamp(1.03rem, 1.6vw, 1.16rem); color: var(--text-muted); max-width: 56ch; }
.muted { color: var(--text-muted); }
.tiny  { font-size: .84rem; color: var(--text-dim); line-height: 1.6; }

.section-head { max-width: 60ch; margin-bottom: clamp(2.25rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: .9rem; }

/* --- Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.65rem;
  border-radius: 100px;
  font-size: 1rem; font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 14px rgba(21,128,61,.22); }

.btn-ghost { background: var(--bg); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text-dim); background: var(--bg-warm); }

.btn-sm { padding: .58rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: 1.08rem 2.1rem; font-size: 1.05rem; }

.btn .wa { width: 20px; height: 20px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--accent); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color .18s ease;
}
.link-arrow:hover { border-bottom-color: var(--accent); }

/* --- Header ------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }

.nav { display: flex; align-items: center; gap: 1.5rem; height: 70px; }

.brand {
  font-weight: 700; font-size: .9rem; letter-spacing: .04em;
  text-decoration: none; margin-right: auto;
  display: flex; align-items: center; gap: .55rem;
}
.brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.brand span.light { color: var(--text-dim); font-weight: 500; }

.nav-links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: .92rem; color: var(--text-muted); transition: color .16s ease; }
.nav-links a:hover { color: var(--text); }

.lang-switch { display: flex; align-items: center; gap: .25rem; font-size: .8rem; font-weight: 650; }
.lang-switch a { text-decoration: none; color: var(--text-dim); padding: .2rem .4rem; border-radius: 6px; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { color: var(--text); background: var(--bg-warm); }
.lang-switch .sep { color: var(--border); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: .4rem .55rem; color: var(--text); cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: .25rem var(--pad) 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: .8rem 0; font-size: 1rem; border-bottom: 1px solid var(--border-soft); }
  .nav-toggle { display: block; order: 3; }
  .header-cta { display: none; }
}

/* --- Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; top: -45%; left: 50%;
  width: min(900px, 120vw); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(21,128,61,.07) 0%, transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.hero h1 { max-width: 15ch; margin-bottom: 1.35rem; }
.hero .lead { margin-bottom: 2.1rem; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.hero-note { margin-top: 1.1rem; color: var(--text-dim); font-size: .87rem; }

.facts {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.facts span {
  font-size: .87rem; color: var(--text-muted);
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .45rem 1rem;
}

/* --- Leistung (ein Block) ----------------------------------------------- */

.offer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.offer-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.offer-item h3 { margin-bottom: .5rem; }
.offer-item p { font-size: .94rem; color: var(--text-muted); margin: 0; }

.offer-item .ico {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: 1rem;
}
.offer-item .ico svg { width: 17px; height: 17px; }

/* --- Über mich ---------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-warm);
  box-shadow: var(--shadow);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.signature { margin-top: 1.5rem; font-size: .92rem; color: var(--text-dim); }

/* --- Kontakt ------------------------------------------------------------ */

.cta-inner { text-align: center; max-width: 560px; margin-inline: auto; }
.cta-inner h2 { margin-bottom: 1rem; }
.cta-inner .lead { margin-inline: auto; margin-bottom: 2rem; }

/* --- Footer ------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.75rem;
  font-size: .89rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: clamp(1.75rem, 4vw, 3rem);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  font-size: .73rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 .9rem; font-weight: 650;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--text-muted); text-decoration: none; transition: color .16s ease; }
.site-footer a:hover { color: var(--accent); }
.site-footer address { font-style: normal; color: var(--text-muted); line-height: 1.8; }

.footer-brand p { color: var(--text-muted); max-width: 32ch; margin-top: .8rem; font-size: .89rem; }

.footer-bottom {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: .75rem;
  justify-content: space-between;
  color: var(--text-dim); font-size: .82rem;
}

/* --- Sticky Mobile WhatsApp --------------------------------------------- */

.sticky-wa {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  display: none; align-items: center; gap: .5rem;
  padding: .85rem 1.35rem;
  border-radius: 100px;
  background: var(--accent); color: #fff;
  font-weight: 650; font-size: .95rem; text-decoration: none;
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease;
}
.sticky-wa.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 860px) { .sticky-wa { display: inline-flex; } }

/* --- Rechtstexte -------------------------------------------------------- */

.legal { padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3.5rem, 7vw, 5rem); }
.legal .wrap { max-width: 740px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .75rem; }
.legal h2 { font-size: clamp(1.1rem, 2vw, 1.3rem); margin-top: 2.5rem; margin-bottom: .75rem; }
.legal p, .legal li { color: var(--text-muted); font-size: .96rem; }
.legal ul, .legal ol { padding-left: 1.25rem; display: grid; gap: .45rem; margin: 0 0 1.1em; }
.legal a { color: var(--accent); }
.legal address { font-style: normal; line-height: 1.8; color: var(--text-muted); }
.legal .updated { color: var(--text-dim); font-size: .86rem; margin-bottom: 2.25rem; }
.legal .back { margin-bottom: 1.75rem; display: inline-block; }
.legal code {
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: 5px; padding: .1em .35em; font-size: .9em;
}

/* --- 404 / Weiterleitung ------------------------------------------------ */

.error-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}
.error-page h1 { margin-bottom: 1rem; }
.error-page p { color: var(--text-muted); margin-bottom: 1.75rem; }
.error-page .btn { margin: .3rem; }
