/* ==========================================================================
   Beispiel-Websites von Akyüz Webdesign (erfundene Betriebe)
   Ein Stylesheet, drei Themen: .theme-salon, .theme-maler, .theme-nachhilfe
   ========================================================================== */

:root {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  color-scheme: light;
}

.theme-salon {
  --bg: #fffaf8;
  --soft: #fbefea;
  --soft-2: #f3ddd5;
  --ink: #3b1f1a;
  --muted: #6e4c45;
  --accent: #a8473f;
  --accent-dark: #86352f;
  --accent-ink: #fff;
  --line: #efd9d1;
  --head: Georgia, "Times New Roman", serif;
  --head-weight: 700;
}

.theme-maler {
  --bg: #ffffff;
  --soft: #f1f4f9;
  --soft-2: #dfe6f1;
  --ink: #0f1d33;
  --muted: #4a5871;
  --accent: #14305f;
  --accent-dark: #0c2147;
  --accent-ink: #fff;
  --highlight: #fbbf24;
  --line: #e1e7f0;
  --head: var(--font);
  --head-weight: 850;
}

.theme-nachhilfe {
  --bg: #fbfefc;
  --soft: #eaf8f1;
  --soft-2: #cdeedd;
  --ink: #053d2e;
  --muted: #3f6457;
  --accent: #047857;
  --accent-dark: #035c43;
  --accent-ink: #fff;
  --line: #d4eee2;
  --head: var(--font);
  --head-weight: 800;
}

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

[hidden] {
  display: none !important;
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--head);
  font-weight: var(--head-weight);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 7vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 5vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
}

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

[id] {
  scroll-margin-top: 110px;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Hinweis «Beispiel» ---------- */

.top-stack {
  position: sticky;
  top: 0;
  z-index: 60;
}

.demo-note {
  background: #0a1a3a;
  color: #dbe4f5;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.88rem;
  line-height: 1.35;
}

.demo-note .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding-block: 9px;
}

.demo-note strong {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-note a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.demo-note a:hover {
  text-decoration: underline;
}

.demo-note .wrap {
  flex-wrap: nowrap;
}

@media (max-width: 600px) {
  .hide-sm {
    display: none;
  }
}

/* ---------- Kopfzeile ---------- */

.site-head {
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-family: var(--head);
  font-size: 1.2rem;
  font-weight: var(--head-weight);
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
}

.logo-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .site-head .btn-small {
    display: none;
  }
}

.theme-salon .logo-mark {
  border-radius: 50%;
}

.site-head nav {
  display: none;
}

.site-head nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.site-head nav a:hover {
  color: var(--accent);
}

@media (min-width: 820px) {
  .site-head nav {
    display: flex;
    gap: 26px;
  }
}

/* ---------- Knöpfe ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 22px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
}

.btn-ghost:hover {
  background: var(--soft);
  color: var(--accent-dark);
}

.btn-small {
  min-height: 40px;
  padding: 7px 16px;
  font-size: 0.92rem;
}

.theme-maler .btn {
  border-radius: 10px;
}

.theme-maler .btn-hl {
  border-color: var(--highlight);
  background: var(--highlight);
  color: #1f1300;
}

.theme-maler .btn-hl:hover {
  border-color: #f59e0b;
  background: #f59e0b;
  color: #1f1300;
}

.theme-maler .btn-light {
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
}

.theme-maler .btn-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- Startbereich ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background: var(--soft);
}

.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero p.lead {
  max-width: 32em;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-art {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

@media (min-width: 880px) {
  .hero {
    padding: 88px 0 96px;
  }

  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
}

.theme-maler .hero {
  background: linear-gradient(150deg, #14305f, #0b1c3d);
  color: #fff;
}

.theme-maler .hero h1 {
  color: #fff;
}

.theme-maler .hero h1 span {
  color: var(--highlight);
}

.theme-maler .hero p.lead {
  color: #c9d5ea;
}

.theme-maler .hero-kicker {
  color: var(--highlight);
}

.theme-salon .hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.theme-nachhilfe .hero h1 span {
  background: linear-gradient(transparent 62%, var(--soft-2) 62%);
}

/* ---------- Abschnitte ---------- */

.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--soft);
}

.section-title {
  max-width: 640px;
  margin-bottom: 34px;
}

.section-title p {
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 880px) {
  .section {
    padding: 96px 0;
  }
}

.cards {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.25);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--soft);
  color: var(--accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-salon .card-icon {
  border-radius: 50%;
}

.theme-maler .card {
  border-top: 4px solid var(--highlight);
  border-radius: 12px;
}

.split {
  display: grid;
  gap: 36px;
  align-items: center;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.split-art {
  overflow: hidden;
  border-radius: 24px;
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%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 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ticks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.3em + 4px);
  width: 5px;
  height: 9px;
  border: solid var(--accent-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Schritte (Maler, Nachhilfe) */
.steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Galerie (Maler) */
.gallery {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--soft);
}

.gallery figcaption {
  padding: 12px 16px 14px;
  font-weight: 700;
}

.gallery figcaption span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 400;
}

/* Öffnungszeiten / Kontakt */
.info-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 760px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-box {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.hours th {
  font-weight: 600;
}

.hours td {
  color: var(--muted);
  text-align: right;
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.contact-lines li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-lines svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fake {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Abschluss-Band */
.cta-band {
  padding: 56px 0;
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
}

.cta-band h2 {
  color: var(--accent-ink);
}

.cta-band p {
  opacity: 0.85;
}

.cta-band .btn {
  margin-top: 10px;
  border-color: var(--accent-ink);
  background: var(--accent-ink);
  color: var(--accent);
}

.theme-maler .cta-band {
  background: var(--highlight);
  color: #1f1300;
}

.theme-maler .cta-band h2 {
  color: #1f1300;
}

.theme-maler .cta-band .btn {
  border-color: #14305f;
  background: #14305f;
  color: #fff;
}

/* Fusszeile */
.site-foot {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
}

.site-foot a {
  font-weight: 700;
}

/* Sanfte Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .float {
    animation: float 7s ease-in-out infinite;
  }

  .float-slow {
    animation: float 10s 1s ease-in-out infinite;
  }

  .spin-slow {
    transform-origin: center;
    transform-box: fill-box;
    animation: spin 40s linear infinite;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
