/* Casosol Urlaubsliste – Gestaltung der Rechtsseiten
   Impressum, Datenschutz, Verkaufs- und Nutzungsbedingungen, Widerruf.
   Farben und Schriften sind bewusst dieselben wie in der App, damit die
   Seiten nicht wie ein Fremdkörper wirken. Die Schriften werden aus dem
   Ordner fonts/ der App geladen, es wird nichts von außerhalb geholt. */

@font-face{font-family:"DM Sans";font-style:normal;font-display:swap;font-weight:100 1000;
  src:url("fonts/dm-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"DM Sans";font-style:normal;font-display:swap;font-weight:100 1000;
  src:url("fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Fraunces";font-style:normal;font-display:swap;font-weight:100 900;
  src:url("fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Fraunces";font-style:normal;font-display:swap;font-weight:100 900;
  src:url("fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --bg-top:#E7F0F0; --bg-bottom:#FBF3E6;
  --card:#FFFFFF; --ink:#1E2D35; --muted:#6B7780;
  --sea:#2C8A86; --sea-deep:#20716E;
  --line:#EDE3D2;
  --shadow:0 1px 2px rgba(31,46,54,.05),0 8px 24px rgba(31,46,54,.06);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"DM Sans",system-ui,sans-serif;
  color:var(--ink);
  background:linear-gradient(180deg,var(--bg-top) 0%,var(--bg-bottom) 38%);
  background-attachment:fixed;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

.wrap{
  max-width:640px;
  margin:0 auto;
  padding:calc(18px + env(safe-area-inset-top,0px)) 16px calc(48px + env(safe-area-inset-bottom,0px));
}

/* Zurück-Link oben */
.zurueck{
  display:inline-block;
  margin-bottom:14px;
  font-size:14.5px;
  font-weight:700;
  color:var(--sea-deep);
  text-decoration:none;
  padding:6px 2px;
}
.zurueck:hover,.zurueck:focus{text-decoration:underline}

/* Die weiße Karte, in der der Text steht */
.karte{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px 22px 28px;
}

h1{
  font-family:"Fraunces",Georgia,serif;
  font-weight:600;
  font-size:27px;
  line-height:1.2;
  margin:0 0 6px;
}
h2{
  font-family:"Fraunces",Georgia,serif;
  font-weight:600;
  font-size:18.5px;
  line-height:1.3;
  margin:26px 0 8px;
  color:var(--sea-deep);
}
h3{
  font-size:15.5px;
  font-weight:700;
  margin:18px 0 6px;
}

p{margin:0 0 12px;font-size:15px}
ul,ol{margin:0 0 12px;padding-left:22px;font-size:15px}
li{margin:0 0 7px}
address{font-style:normal;font-size:15px;margin:0 0 12px;line-height:1.7}
strong{font-weight:700}

a{color:var(--sea-deep)}
a:hover,a:focus{color:var(--ink)}

/* Stand-Datum unter der Überschrift */
.stand{
  font-size:12.5px;
  color:var(--muted);
  margin:0 0 4px;
}

/* Hervorgehobener Hinweis, etwa „Bitte zuerst lesen“ */
.hinweis{
  background:#F4FAF9;
  border:1px solid #CBE6E4;
  border-left:4px solid var(--sea);
  border-radius:12px;
  padding:13px 15px;
  margin:16px 0 20px;
  font-size:14.5px;
}
.hinweis p:last-child{margin-bottom:0}

/* Kasten für das Muster-Widerrufsformular */
.kasten{
  background:#FCFAF6;
  border:1px dashed #DCD2C0;
  border-radius:12px;
  padding:15px 16px;
  margin:12px 0 18px;
  font-size:14.5px;
}
.kasten p:last-child{margin-bottom:0}

/* Fußzeile mit den Verweisen auf die anderen Rechtsseiten */
.fuss{
  margin:22px 0 0;
  text-align:center;
  font-size:12.5px;
  color:var(--muted);
  line-height:1.9;
}
.fuss a{color:var(--muted);text-decoration:none;padding:3px 2px}
.fuss a:hover,.fuss a:focus{color:var(--ink);text-decoration:underline}

@media (max-width:420px){
  .karte{padding:20px 17px 24px}
  h1{font-size:24px}
  h2{font-size:17.5px}
  p,ul,ol,address{font-size:14.5px}
}
