/* d'Céline – Alltagsbegleitung und -betreuung Céline Röschli */

:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --text: #2b2a28;
  --muted: #5c5852;
  --line: #e4ddd2;
  --formal: #1f4e5a;
  --formal-soft: #e3eef0;
  --warm: #a34a26;
  --warm-soft: #f6e6dc;
  --radius: 14px;
  --shadow: 0 2px 6px rgba( 0, 0, 0, 0.06 ), 0 12px 32px rgba( 0, 0, 0, 0.06 );
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

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

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

body {
  margin: 0;
  background: var( --bg );
  color: var( --text );
  font-family: var( --font );
  font-size: 1.0625rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: var( --formal );
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

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

h1 {
  font-size: clamp( 1.9rem, 4vw + 0.5rem, 2.8rem );
}

h2 {
  font-size: clamp( 1.4rem, 2vw + 0.6rem, 1.8rem );
  margin-top: 2.2em;
}

h3 {
  font-size: 1.2rem;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var( --surface );
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 10;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.narrow {
  max-width: 46rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var( --line );
  background: var( --bg );
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  text-decoration: none;
  color: var( --text );
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var( --font-display );
  font-size: 1.6rem;
  font-weight: 600;
}

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

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var( --muted );
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var( --text );
  text-decoration: underline;
}

main {
  flex: 1;
  padding: 2.5rem 0 4rem;
}

/* Landing tiles */

.intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.intro p {
  color: var( --muted );
  max-width: 38rem;
  margin: 0 auto;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tile {
  display: flex;
  flex-direction: column;
  background: var( --surface );
  border-radius: var( --radius );
  box-shadow: var( --shadow );
  padding: 2rem;
  text-decoration: none;
  color: var( --text );
  border-top: 6px solid var( --formal );
  opacity: 0;
  transform: translateY( 16px );
  animation: tile-in 0.9s ease-out forwards;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tile-formal {
  animation-delay: 0.15s;
}

.tile-personal {
  border-top-color: var( --warm );
  background: var( --warm-soft );
  animation-delay: 0.45s;
}

.tile:hover {
  box-shadow: 0 4px 10px rgba( 0, 0, 0, 0.08 ), 0 18px 40px rgba( 0, 0, 0, 0.1 );
}

.tile h2 {
  margin-top: 0;
}

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

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var( --muted );
  margin-bottom: 0.6rem;
}

.tile-photo {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 4px solid var( --surface );
}

.tile-cta {
  margin-top: auto;
  font-weight: 600;
  color: var( --formal );
}

.tile-personal .tile-cta {
  color: var( --warm );
}

@keyframes tile-in {
  to {
    opacity: 1;
    transform: translateY( 0 );
  }
}

@media ( prefers-reduced-motion: reduce ) {
  .tile {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

.teaser {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
}

/* Content pages */

.lead {
  font-size: 1.2rem;
  color: var( --muted );
}

.page-formal h1,
.page-formal h2 {
  color: var( --formal );
}

.page-personal h1,
.page-personal h2 {
  color: var( --warm );
}

.page-personal a {
  color: var( --warm );
}

.hero-personal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.portrait {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var( --shadow );
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.card {
  background: var( --surface );
  border-radius: var( --radius );
  padding: 1.5rem;
  box-shadow: var( --shadow );
}

.card h3 {
  color: var( --formal );
}

.card p:last-child {
  margin-bottom: 0;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var( --formal );
}

.page-personal .checklist li::before {
  background: var( --warm );
}

.prices {
  width: 100%;
  border-collapse: collapse;
  background: var( --surface );
  border-radius: var( --radius );
  overflow: hidden;
  box-shadow: var( --shadow );
  margin-bottom: 1rem;
}

.prices th,
.prices td {
  text-align: left;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var( --line );
}

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

.prices td {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.note {
  font-size: 0.9rem;
  color: var( --muted );
}

.contact {
  background: var( --formal-soft );
  border-radius: var( --radius );
  padding: 1.5rem;
  margin-top: 2.5rem;
}

.page-personal .contact {
  background: var( --warm-soft );
}

.contact h2 {
  margin-top: 0;
}

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

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.icon {
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
  margin-top: 0.2em;
  fill: currentColor;
}

/* Footer */

.site-footer {
  border-top: 1px solid var( --line );
  font-size: 0.9rem;
  color: var( --muted );
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var( --muted );
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

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

  .tile {
    padding: 2.5rem;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .cards-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hero-personal {
    flex-direction: row;
    align-items: center;
  }
}
