/* Julius hilft – PC-Hilfe in München
   Fonts are self-hosted (no Google Fonts requests, DSGVO-friendly). */

@font-face {
  font-family: "Bitter";
  src: url("fonts/bitter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans3.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --sky: #e9f1f7;      /* page background, cool and calm */
  --ink: #17283f;      /* text, deep navy */
  --blue: #1c5aa0;     /* links and buttons */
  --blue-dark: #12447d;
  --paper: #fff6b8;    /* the yellow notice */
  --white: #ffffff;
  --line: #c4d3e0;

  --display: "Bitter", Georgia, serif;
  --text: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  font-size: 125%; /* 20px base: comfortable for older eyes */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

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

a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { color: var(--blue-dark); }

:focus-visible {
  outline: 4px solid #f2a900;
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.3rem); font-weight: 750; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3em; }

p { margin: 0 0 1em; max-width: 36em; }

.wrap {
  width: min(100% - 2.5rem, 58rem);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  padding: 1.1rem 0;
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--display);
  font-weight: 750;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}
.header-phone {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 2rem 0 4rem;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
}
.lead {
  font-size: 1.2rem;
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  line-height: 1.3;
}
.btn:hover { background: var(--blue-dark); color: var(--white); }
.btn small { display: block; font-weight: 400; font-size: 0.85rem; opacity: 0.9; }

.hero-hours { margin-top: 1rem; font-size: 1rem; }

/* The tear-off notice ("Abrisszettel") */
.notice {
  position: relative;
  background: var(--paper);
  padding: 1.6rem 1.6rem 0;
  transform: rotate(1.6deg);
  box-shadow: 0 1px 0 rgba(23, 40, 63, 0.08), 0 14px 30px -12px rgba(23, 40, 63, 0.35);
  max-width: 24rem;
  justify-self: center;
}
.notice::before { /* pin */
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: -0.55rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff7b6b, #c2281a 70%);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.3);
}
.notice-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}
.notice-text {
  font-size: 1.05rem;
  margin: 0 0 1.2rem;
}
.notice-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 1.2rem;
}
.tabs {
  display: flex;
  margin: 0 -1.6rem;
  border-top: 2px dashed rgba(23, 40, 63, 0.35);
}
.tab {
  flex: 1;
  height: 8.5rem;
  border-right: 2px dashed rgba(23, 40, 63, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab:last-child { border-right: 0; }
.tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tab.gone { /* one strip already torn off */
  background: var(--sky);
  border-top: 0;
  margin-top: -2px;
}
.tab.gone span { visibility: hidden; }

/* ---------- Sections ---------- */
section { padding: 3.5rem 0; }
.band { background: var(--white); }

.help-list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 2.5rem;
}
.help-list li {
  padding: 0.65rem 0 0.65rem 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.help-list li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 1.05rem;
  width: 0.9rem;
  height: 0.5rem;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}
.steps p { margin: 0; }

.price {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}
.price-figure {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 6rem);
  line-height: 1;
  margin: 0;
}
.price-figure span {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
.price ul { margin: 0; padding-left: 1.2rem; }
.price li { margin-bottom: 0.4rem; }

.about {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 2.5rem;
  align-items: start;
}
.about img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0.5rem;
}

.contact-phone {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.2rem);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.4rem;
}
.contact-mail { font-size: 1.2rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 2rem 0 6rem;
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.site-footer nav { display: flex; gap: 1.5rem; }

/* Call bar on phones */
.call-bar { display: none; }

/* ---------- Legal pages ---------- */
.legal { padding: 2rem 0 4rem; }
.legal h1 { hyphens: auto; overflow-wrap: break-word; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { max-width: 38em; }
.todo { background: #ffe08a; padding: 0 0.25em; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  html { font-size: 112.5%; } /* 18px */
  .hero .wrap, .price, .about { grid-template-columns: 1fr; }
  .hero { padding-top: 1rem; }
  .notice { transform: rotate(1deg); }
  .help-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about img { max-width: 14rem; }
  .header-phone { display: none; }

  .call-bar {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--blue);
    color: var(--white);
    text-align: center;
    font-weight: 700;
    font-size: 1.15rem;
    padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
    text-decoration: none;
    z-index: 10;
  }
  .call-bar:hover { color: var(--white); }
}

@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
}

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