/* ==========================================================================
   Malerbetrieb Sascha Utech – Stylesheet
   Farbpalette: einfach hier oben anpassen
   ========================================================================== */

:root {
  --ink: #22282e;        /* Textfarbe dunkel */
  --ink-soft: #4c565f;   /* Textfarbe gedämpft */
  --paper: #f7f5f1;      /* warmer Hintergrund */
  --card: #ffffff;
  --line: #e7e2d9;

  --accent: #e0552f;       /* Terracotta (dekorativ) */
  --accent-dark: #c74524;  /* Buttons & Links */
  --accent-darker: #a93a1e;

  /* Farbkarten-Palette */
  --c1: #e0552f;  /* Terracotta */
  --c2: #f0a418;  /* Bernstein */
  --c3: #6faf3f;  /* Grün */
  --c4: #17a398;  /* Petrol */
  --c5: #33658a;  /* Blau */
  --c6: #7b5ea7;  /* Violett */

  --dark: #232930;
  --dark-2: #1b2025;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(30, 35, 40, 0.08);
  --shadow-hover: 0 16px 40px rgba(30, 35, 40, 0.13);
  --container: 1100px;
}

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

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
address { font-style: normal; }

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
ul { margin: 0 0 1em; padding-left: 1.2em; }

::selection { background: var(--accent); color: #fff; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--c4);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Farbstreifen – Signatur-Element */
.paint-stripe {
  height: 5px;
  background: linear-gradient(90deg,
    var(--c1) 0 17%,
    var(--c2) 17% 33.5%,
    var(--c3) 33.5% 50%,
    var(--c4) 50% 66.5%,
    var(--c5) 66.5% 83%,
    var(--c6) 83% 100%);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(199, 69, 36, 0.35);
}
.btn-primary:hover { background: var(--accent-darker); }

.btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.btn-small { padding: 0.55rem 1.05rem; font-size: 0.92rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand svg { flex: none; }
.brand-name { font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.brand-name small {
  display: block;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav { display: flex; gap: 1.4rem; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--accent-dark); }

.burger {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--ink);
}

.back-link { font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(30, 35, 40, 0.12);
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.75rem 0.25rem; border-bottom: 1px solid #f1ede6; }
  .site-nav a:last-child { border-bottom: 0; }
  .burger { display: inline-flex; }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand-name { font-size: 0.98rem; }
}

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

.hero {
  background:
    radial-gradient(600px 420px at 88% 12%, rgba(224, 85, 47, 0.30), transparent 65%),
    radial-gradient(520px 380px at 72% 95%, rgba(51, 101, 138, 0.40), transparent 65%),
    radial-gradient(420px 320px at 8% 90%, rgba(240, 164, 24, 0.16), transparent 60%),
    var(--dark);
  color: #fff;
  padding-block: clamp(3.8rem, 9vw, 6.2rem);
}

.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c2);
}

.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); margin: 1.1rem 0 0.6rem; }
.hero h1 .mark {
  display: inline-block;
  transform: rotate(-1.5deg);
  background: linear-gradient(120deg, var(--c1), var(--c2));
  color: #fff;
  border-radius: 0.18em;
  padding: 0.02em 0.16em;
}

.hero-lead { color: #ccd3da; font-size: 1.08rem; max-width: 36rem; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 2.1rem 0 0;
  padding: 0;
  list-style: none;
  color: #b9c2ca;
  font-size: 0.92rem;
}
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.hero-points svg { color: var(--c3); flex: none; }

/* Farbkarten-Fächer */
.fan { position: relative; height: 360px; display: none; }
@media (min-width: 940px) {
  .fan { display: block; }
}
.fan-card {
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: 96px;
  height: 244px;
  border-radius: 16px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform-origin: 50% 115%;
  transform: translateX(-50%) rotate(var(--r));
}
.fan-card::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 30px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 7px;
}
.fan-card:nth-child(1) { --r: -32deg; background: var(--c1); z-index: 1; }
.fan-card:nth-child(2) { --r: -16deg; background: var(--c2); z-index: 2; }
.fan-card:nth-child(3) { --r: 0deg;   background: var(--c3); z-index: 3; }
.fan-card:nth-child(4) { --r: 16deg;  background: var(--c4); z-index: 2; }
.fan-card:nth-child(5) { --r: 32deg;  background: var(--c5); z-index: 1; }

/* --------------------------------------------------------------------------
   Sektionen allgemein
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(3.6rem, 8.5vw, 5.6rem);
  scroll-margin-top: 90px;
}
.section-white { background: var(--card); }

.section-head {
  max-width: 660px;
  margin: 0 auto 2.4rem;
  text-align: center;
}
.section-head--left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 1.2rem;
}

.kicker {
  display: block;
  color: var(--accent-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}

.section h2 { font-size: clamp(1.75rem, 3.6vw, 2.35rem); }
.section-lead { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }

/* --------------------------------------------------------------------------
   Leistungen
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
}

.service {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--c1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.service .icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.service h3 { font-size: 1.13rem; margin-bottom: 0.35rem; }
.service p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.service:nth-child(1) { border-top-color: var(--c1); }
.service:nth-child(1) .icon { color: var(--c1); background: rgba(224, 85, 47, 0.12); }
.service:nth-child(2) { border-top-color: var(--c2); }
.service:nth-child(2) .icon { color: #b57708; background: rgba(240, 164, 24, 0.14); }
.service:nth-child(3) { border-top-color: var(--c3); }
.service:nth-child(3) .icon { color: #4e8526; background: rgba(111, 175, 63, 0.14); }
.service:nth-child(4) { border-top-color: var(--c4); }
.service:nth-child(4) .icon { color: #0f7f77; background: rgba(23, 163, 152, 0.13); }
.service:nth-child(5) { border-top-color: var(--c5); }
.service:nth-child(5) .icon { color: var(--c5); background: rgba(51, 101, 138, 0.13); }
.service:nth-child(6) { border-top-color: var(--c6); }
.service:nth-child(6) .icon { color: var(--c6); background: rgba(123, 94, 167, 0.13); }

/* --------------------------------------------------------------------------
   Vorteile
   -------------------------------------------------------------------------- */

.usps {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  text-align: center;
}
.usp .icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  background: rgba(224, 85, 47, 0.11);
}
.usp h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.usp p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

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

.about-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; }
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(155deg, #2d353d, #1f252b);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-hover);
}
.portrait-initials {
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}
.portrait-label {
  position: absolute;
  bottom: 1.1rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #aeb6bd;
  font-size: 0.9rem;
}
.portrait .paint-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.about-text p { color: #39424b; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0.8rem 0 0;
  list-style: none;
}
.chips li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.34rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.chips-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0.9rem 0 0; }

/* --------------------------------------------------------------------------
   Ablauf
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.step {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

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

.section-contact {
  background:
    radial-gradient(600px 400px at 90% 0%, rgba(224, 85, 47, 0.25), transparent 60%),
    radial-gradient(500px 400px at 5% 100%, rgba(51, 101, 138, 0.35), transparent 60%),
    var(--dark);
  color: #fff;
}
.section-contact .kicker { color: var(--c2); }
.section-contact .section-lead { color: #c6cdd4; }

.contact-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.contact-card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.contact-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  background: rgba(224, 85, 47, 0.11);
  margin-bottom: 0.8rem;
}
.contact-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}
.contact-value { font-size: 1.12rem; font-weight: 700; overflow-wrap: anywhere; }
.contact-value a { color: var(--ink); text-decoration-color: rgba(199, 69, 36, 0.5); }
.contact-value a:hover { color: var(--accent-dark); }
.contact-card p { color: var(--ink-soft); font-size: 0.9rem; margin: 0.45rem 0 0; }
.contact-card p a { font-weight: 600; }

.contact-note {
  text-align: center;
  margin: 2.2rem 0 0;
  color: #c6cdd4;
  font-size: 0.95rem;
}
.contact-note a { color: #fff; }

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

.site-footer {
  background: var(--dark-2);
  color: #aeb6bd;
  padding: 2.8rem 0 2rem;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 0.6rem; }
.site-footer a { color: #dfe4e8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid #2c333a;
  padding-top: 1.3rem;
  font-size: 0.85rem;
  color: #8d959d;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Unterseiten (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */

.legal {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 1.5rem) 4rem;
}
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.legal p, .legal li { color: #3a434c; }

.notice {
  background: #fff6dc;
  border: 1px solid #ecd88f;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: #6b5713;
  font-size: 0.93rem;
  margin: 1.5rem 0 2rem;
}
.todo {
  background: #fff3c4;
  border-radius: 4px;
  padding: 0.1em 0.35em;
  font-weight: 600;
  color: #6b5713;
}
