/* Klavierschule Ulm – Simone Rapp */

:root {
  --ink: #22201d;
  --ink-soft: #55504a;
  --paper: #faf7f2;
  --paper-alt: #f1ece4;
  --accent: #a8763e;
  --accent-dark: #8a5f2f;
  --line: #e2dbd0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(34, 32, 29, 0.08);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.55rem; }

p { margin: 0 0 1em; }

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.container.narrow { width: min(760px, 100% - 2.5rem); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 0.6rem;
}

.lead { font-size: 1.22rem; color: var(--ink-soft); }

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--paper-alt); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.brand { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.1; }
.brand-sub { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--accent-dark); border-color: var(--accent); }

.site-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border-bottom: none;
}

.site-nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

/* Hero */
.hero { position: relative; background: var(--ink); }

.hero-banner {
  aspect-ratio: 960 / 332;
  max-height: 72vh;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: clamp(1.5rem, 5vw, 3.25rem) 0;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.82), rgba(20, 18, 16, 0));
  color: #fff;
}

.hero-caption h1 { color: #fff; margin-bottom: 0.35em; }
.hero-caption p { color: rgba(255, 255, 255, 0.9); font-size: 1.15rem; max-width: 42ch; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }

/* Willkommen */
.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink-soft);
  margin-top: 1.75rem;
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.quick-contact a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.quick-contact a:hover { color: var(--accent-dark); }

.quick-contact .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow);
}

.card h3 { color: var(--accent-dark); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.65rem;
}

.ticks li::before {
  content: "♪";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Biographie */
.bio {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.timeline {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 1.15rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--paper);
}

.timeline .year {
  display: inline-block;
  min-width: 3.4rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.bio-photo { margin: 0; }

.bio-photo img {
  width: 100%;
  max-width: 410px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bio-photo figcaption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* Karte */
.map {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map iframe { width: 100%; display: block; border: 0; }

/* Kontakt */
.contact { background: var(--ink); color: #ece7e0; }
.contact h2, .contact .eyebrow { color: #fff; }
.contact .eyebrow { color: var(--accent); }
.contact .lead { color: rgba(236, 231, 224, 0.85); }

.contact-details {
  font-style: normal;
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.contact-details p { margin: 0 0 0.65rem; }
.contact-details a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--accent); }
.contact-details a:hover { color: var(--accent); }
.contact-name { font-family: var(--font-display); font-size: 1.35rem; }
.hint { color: rgba(236, 231, 224, 0.6); font-size: 0.85rem; }

/* Footer */
.site-footer {
  background: #1a1815;
  color: rgba(236, 231, 224, 0.7);
  padding: 1.6rem 0;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 1.35rem; }
.footer-inner a { color: inherit; text-decoration: none; }
.footer-inner a:hover { color: #fff; }

/* Responsive */
@media (max-width: 860px) {
  .bio { grid-template-columns: 1fr; }
  .bio-photo img { max-width: 320px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
  }

  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: 0.75rem 0; }
  .site-nav .nav-cta { display: inline-block; margin-top: 0.5rem; padding: 0.65rem 1.15rem; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-banner { aspect-ratio: 16 / 10; max-height: none; }
  .hero-caption { position: static; background: var(--ink); }
}

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