/* Tierambulatorium Mannswörth, statische Fassung 2026
   Farben und Aufbau nach dem bisherigen TYPO3-Template (Gelb #fcba04, Rot #9F233B). */

:root {
  --gelb: #fcba04;
  --rot: #9f233b;
  --rot-dunkel: #7a1a2d;
  --text: #222;
  --grau: #f6f3ea;
  --linie: #e6dcc0;
}

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

html { font-size: 100%; }

body {
  margin: 0;
  background: var(--gelb);
  color: var(--text);
  font-family: Verdana, "DejaVu Sans", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

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

a { color: var(--rot); }
a:hover, a:focus { color: var(--rot-dunkel); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: #fff; padding: .5rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

.page {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Kopf */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  padding: 1rem 1.25rem .75rem;
  border-bottom: 2px solid var(--linie);
}
.site-header .logo img { display: block; width: 180px; }
.site-header address {
  font-style: normal;
  color: var(--rot);
  font-size: .95rem;
  line-height: 1.45;
  flex: 1 1 240px;
}
.site-header address strong { font-size: 1.05rem; }
.callbox {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: stretch;
}
.btn {
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 6px;
  background: var(--rot);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}
.btn:hover, .btn:focus { background: var(--rot-dunkel); color: #fff; }
.btn.light { background: #fff; color: var(--rot); border: 2px solid var(--rot); }
.btn.light:hover, .btn.light:focus { background: var(--grau); color: var(--rot-dunkel); }

/* Navigation */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
  border-bottom: 2px solid var(--linie);
}
.site-nav a {
  display: inline-block;
  padding: .7rem 0;
  font-weight: bold;
  font-size: .95rem;
  text-decoration: none;
  color: var(--text);
}
.site-nav a:hover, .site-nav a:focus { color: var(--rot); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--rot); border-bottom: 3px solid var(--gelb); }

/* Inhalt */
main {
  flex: 1;
  padding: 1.5rem 1.25rem 2rem;
}
h1, h2, h3 { color: var(--rot); line-height: 1.3; }
h1 { font-size: 1.5rem; margin: .25rem 0 1rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 .75rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .5rem; }
p { margin: 0 0 1rem; }
strong { color: var(--rot); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
.split figure { margin: 0; }
.split img { border-radius: 4px; display: block; }

.note {
  background: var(--grau);
  border-left: 5px solid var(--gelb);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.note > :last-child { margin-bottom: 0; }

table.hours { border-collapse: collapse; margin: .5rem 0 1rem; }
table.hours th, table.hours td {
  text-align: left;
  padding: .35rem 1.25rem .35rem 0;
  vertical-align: top;
  border-bottom: 1px solid var(--linie);
}
table.hours th { font-weight: bold; }

ul.list { padding-left: 1.25rem; margin: 0 0 1rem; }
ul.list li { margin: .2rem 0; }
ul.cols { columns: 2; column-gap: 2rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1rem 0; }

/* Fuß */
.site-footer {
  border-top: 2px solid var(--linie);
  padding: 1.25rem 1.25rem 1.5rem;
  font-size: .9rem;
  background: #fff url(img/pfoten.gif) no-repeat right 1rem bottom .5rem;
  padding-right: 140px;
  min-height: 130px;
}
.site-footer p { margin: 0 0 .4rem; }
.site-footer nav a { margin-right: 1rem; }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  ul.cols { columns: 1; }
  .site-header { gap: .75rem 1rem; }
  .site-header .logo img { width: 96px; }
  .site-header address { flex: 1 1 150px; font-size: .85rem; }
  .site-nav ul { gap: 0 1rem; }
  .site-nav a { padding: .45rem 0; font-size: .9rem; }
  .callbox { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .callbox .btn { flex: 1 1 auto; }
  h1 { font-size: 1.3rem; }
  .site-footer { padding-right: 1.25rem; padding-bottom: 130px; background-position: right 1rem bottom .5rem; }
}

@media print {
  body { background: #fff; }
  .site-nav, .callbox, .skip { display: none; }
}

.sr, caption.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

h2.first { margin-top: 0; }
