/* Safa Gezer · Wüstenrot Immobilien – Link-Seite */
@font-face {
  font-family: "WWType";
  src: url("/fonts/WWType-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "WWType";
  src: url("/fonts/WWType-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --rot: #f84914;          /* Wüstenrot */
  --rot-dunkel: #d93c0c;
  --nacht: #141414;        /* Wüstennacht */
  --grau: #eeeeee;         /* Warmgrau */
  --grau-dunkel: #e2e2e2;
  --text-2: #4a4a4a;
  --weiss: #ffffff;
  --logo-q: 40px;          /* 1 Logo-Quadrat = Schutzraum */
  --radius: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--nacht);
  font-family: "WWType", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.kopf { padding: var(--logo-q); padding-bottom: calc(var(--logo-q) * .6); }
.kopf img { width: calc(var(--logo-q) * 3.68); height: auto; }

.seite {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* Profil */
.profil-kopf { display: flex; align-items: center; gap: 18px; }
.foto {
  width: 104px; height: 104px; flex: none;
  border-radius: 50%; object-fit: cover;
  background: var(--grau);
}
.position { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.35; }
h1 { margin: 2px 0 0; font-size: 30px; line-height: 1.1; font-weight: 700; }
.claim { margin: 22px 0 0; font-size: 20px; line-height: 1.4; }
.claim strong { color: var(--rot); font-weight: 700; }
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--grau); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

/* Kontakt */
.kontakt { margin-top: 26px; background: var(--grau); border-radius: var(--radius); padding: 20px; }
.kontakt p { margin: 0; font-size: 14px; color: var(--text-2); }
.kontakt a.wert { display: inline-block; font-weight: 700; font-size: 18px; text-decoration: none; margin: 2px 0 12px; word-break: break-all; }
.kontakt a.wert:hover { color: var(--rot); }
.btn-speichern {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 4px; padding: 14px 18px;
  background: var(--weiss); color: var(--nacht);
  border: 2px solid var(--nacht); border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none;
}
.btn-speichern:hover { background: var(--nacht); color: var(--weiss); }

/* Buttons */
.links { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--grau); color: var(--nacht); text-decoration: none;
  transition: background .15s;
}
.btn:hover { background: var(--grau-dunkel); }
.btn .t { font-weight: 700; font-size: 19px; line-height: 1.25; display: block; }
.btn .u { font-size: 15px; color: var(--text-2); display: block; margin-top: 2px; }
.btn .pfeil {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--weiss); display: grid; place-items: center;
}
.btn .pfeil svg { width: 16px; height: 16px; stroke: var(--rot); }
.btn.haupt { background: var(--rot); color: var(--weiss); }
.btn.haupt:hover { background: var(--rot-dunkel); }
.btn.haupt .u { color: rgba(255,255,255,.9); }

/* Tipp */
.tipp { margin-top: 28px; border: 2px solid var(--grau); border-radius: var(--radius); padding: 22px 20px; }
.tipp h2, .social h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.25; }
.tipp p { margin: 0 0 12px; }
.tipp .btn { margin-top: 6px; }

.social { margin-top: 28px; }
.social h2 { font-size: 15px; color: var(--text-2); font-weight: 400; margin-bottom: 10px; }
.social .btn { padding: 14px 20px; }
.social .btn .t { font-size: 17px; }

/* Fußzeile */
.fuss {
  max-width: 1120px; margin: 0 auto; padding: 24px 20px 40px;
  border-top: 1px solid var(--grau);
  font-size: 14px; color: var(--text-2);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--rot); }

a:focus-visible, button:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

/* Desktop: zwei Spalten */
@media (min-width: 960px) {
  :root { --logo-q: 48px; }
  .seite { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: start; padding-bottom: 64px; }
  .links-spalte { position: sticky; top: 32px; }
  .links { margin-top: 0; }
  .foto { width: 120px; height: 120px; }
  h1 { font-size: 34px; }
  .fuss { padding-left: 20px; padding-right: 20px; }
  .kopf { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
}

/* Rechtstexte */
.text { max-width: 760px; margin: 0 auto; padding: 0 20px 48px; }
.text h1 { font-size: 30px; margin: 8px 0 24px; }
.text h2 { font-size: 20px; margin: 32px 0 8px; }
.text h3 { font-size: 17px; margin: 22px 0 6px; }
.text p, .text li { color: var(--nacht); }
.text a { color: var(--rot); overflow-wrap: anywhere; }
.zurueck { display: inline-block; margin-bottom: 8px; color: var(--text-2); text-decoration: none; font-size: 15px; }
.zurueck:hover { color: var(--rot); }
