@charset "utf-8";

@font-face { 
	font-family: 'sonfon'; 
	src: url('../media/fonts/sonfon.ttf');
}

/* 1. Die normale Schrift (Upright) */
@font-face {
    font-family: 'stdfon';
    src: url('../media/fonts/stdfon.ttf') format('truetype');
    font-weight: 100 900;  /* Deckt alles von Thin bis Black ab */
    font-style: normal;
    font-display: swap;
}

/* 2. Die kursive Schrift (Italic) */
@font-face {
    font-family: 'stdfon';
    src: url('../media/fonts/stdfon-italic.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {

    /* Theme Colors */
    --vc1: #000000;
    --vc2: #620e31;
    --vc3: #0b5321;

    /* Inverted Text/Background */
    --vci1 : #FFFFFF;
    --bci1 : #00bf8f;
    --bci2 : #699b8d;

    /* Base Backgrounds */
    --bc1: #FFFFFF;
    --bc2: #c5c5c5;
    --bc3: #e8dbe0;

    /* Transparent Overlays */
    --bc1t75 : #0b5321BB;
    --bcdk75 : #FFFFFFCC;

    /* Status */
    --error : #880000;
    --info  : #0000ff;
    --success : #006600;
    --disabled : #888888;
    --mark : #620e31;

    /* Grayscale & Spectrum */
    --black: #000000;
    --dgray: #444444;
    --gray: #888888;
    --lgray: #BBBBBB;
    --white: #FFFFFF;
    --dblue: #000088;
    --blue: #0000FF;
    --lblue: #6666FF;
    --dmagenta: #880088;
    --magenta: #FF00FF;
    --lmagenta: #FF88FF;
    --dred: #880000;
    --red: #FF0000;
    --lred: #FF6666;
    --dorange: #884400;
    --orange: #FF8800;
    --lorange: #FFBB88;
    --dyellow: #888800;
    --yellow: #FFFF00;
    --lyellow: #FFFF66;
    --dgreen: #008800;
    --green: #00FF00;
    --lgreen: #88FF88;

}

* {
    margin: 0;
    padding: 0;
    border: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--vc1) var(--bc1);
}

*::-webkit-scrollbar { width: 12px; }
*::-webkit-scrollbar-track { background: var(--bc1); }
*::-webkit-scrollbar-thumb {
    background-color: var(--bc1);
    border-radius: 20px;
    border: 3px solid var(--vc1);
}

.sonfon { font-family: 'sonfon'; }

/* elemente */

/* Grundlayout / Standardtext */
body {
    color: var(--vc1);
    background-color: var(--bc1);
    min-height: 100vh;
    font-family: 'stdfon', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;

    font-size: 1.1rem;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.1rem);

    overflow-x: hidden; 
    overflow-y: visible; 
    scroll-behavior: smooth;
}


.main {
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
	box-sizing: border-box;
	background-color: var(--bc, transparent);
	overflow: visible;
}

.mainnav {
	background-color: var(--bc1);
}

/* links */


/* Link */
a {
    color: var(--ac, var(--vc1));
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

a.intext {
    color: var(--vc1);
    border-bottom: 1px dotted var(--bci1);
    margin-bottom: -1px;
    text-decoration: none;
}
a.intext:hover {
    color: var(--vc1);
    border-bottom: 1px solid var(--bci1);
    text-decoration: none;
}

/* Top-Navigation */
a.tnav {
    color: var(--vc1);
    font-size: 14px;
    padding: 0 8px;
}
a.tnav:hover {
    text-decoration: underline;
}

/* Main-Navigation */
a.mnav {
    color: var(--vc1);
}
a.mnav:hover {
    color: var(--vc2);
    text-decoration: underline;
}

/* Sub-Navigation */
a.snav {
    color: var(--vc2);
}
a.snav:hover {
    color: var(--vc3);
    text-decoration: underline;
}

/* Footer-Navigation */
a.fnav {
    color: var(--vc2);
    padding: 0 8px;
}
a.fnav:hover {
    color: var(--vc3);
    text-decoration: underline;
}

/* Listen-Navigation */
a.alist {
    color: var(--vc2);
    text-decoration: underline;
    font-style: italic;
}
a.alist:hover {
    color: var(--vc3);
    text-decoration: underline;
}

.pointer {
    color: var(--mark);
    font-weight: 600;
    text-decoration: none;
}
.pointer:hover {
    text-decoration: none;
}

.pointernav {
    text-decoration: underline;
}
.pointernav:hover {
    text-decoration: none;
}

.dispointer {
    color: var(--disabled);
    text-decoration: none;
}
.dispointer:hover {
    text-decoration: none;
}


.skip-link:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    background-color: var(--bc1);
    color: var(--vc1);
    padding: 10px;
    z-index: 9999;
    outline: 2px solid var(--vc2);

    transition: 0.5s;
}

/* navigation */

.is-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1300;
    
    /* Optional: Kleiner Schatten für den 3D-Effekt */
    box-shadow: 0 1px 10px rgba(0,0,0,0.2);
    
    /* WICHTIG: Animation, damit es nicht "springt" */
    animation: slideDown 0.3s ease-out;

    transition: 0.5s;
}

.sticky-top {
    position: -webkit-sticky; /* Für Safari */
    position: sticky;
    top: 0;
    z-index: 1020; /* Hoch genug, um über Inhalt zu liegen */
}

/* Optional: Falls du Dinge hast, die am Boden kleben sollen */
.sticky-bottom {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 1020;
}

.ninanav {
	border-bottom: 1px solid var(--vc1);
}

.topnav {
}

.topnavline {
	min-height: 4px;
}

.fodnav {
}

.fodnavline {
	min-height: 4px;
}

.dropnav {
	border-radius: 8px;
}

nav {
}

.navlist {
    list-style: none;
    display: flex;
    gap: var(--navgap, 48px);
    margin: 0;
    padding: 0;
}

.lihdir {
	float: left;
}

.livdir {
	display: block;
	width: 100%;
}

/* boxen */

.section {
    position: relative;
    width: 100%;
    min-height: var(--height, 300px);
}

.imgbg {
    /* Standard-Hintergrund */
    --bg: url("../media/dummy.png");

    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dunkles transparentes Overlay (wie dein bc2 / bc3) */
.dtrbg {
    background-color: var(--bcdk75); /* dunkler 75%-Overlay */
    width: 100%;
    padding: var(--pod, 32px) var(--plr, 16px);
}

/* Helles transparentes Overlay */
.ltrbg {
    background-color: var(--bc1t75); /* heller 75%-Overlay */
    width: 100%;
    padding: var(--pod, 32px) var(--plr, 16px);
}

.inv {
	color: var(--vci1);
}

.sontit {
    font-family: 'sonfon';
    font-weight: var(--fw, 600);
    color: var(--fc, var(--vc2));

    font-size: var(--fs, revert);
    line-height: var(--lh, 1.1);
    text-align: center;
}

.conftit {
    font-weight: var(--fw, 600);

    font-size: var(--fs, revert);
    line-height: var(--lh, 1.1);
    text-align: center;
}

.minmax-fontsize {
	font-size: var(--fs-mid, 1rem);
    font-size: clamp(var(--fs-min, 0.8rem), var(--fs-mid, 1rem), var(--fs-max, 1.9rem));
}

.minmax-typography {
    font-size: clamp(var(--fs-min, 0.8rem), var(--fs-mid, 1rem), var(--fs-max, 1.9rem));
    line-height: clamp(var(--lh-min, 1.1), var(--lh-mid, 2vw), var(--lh-max, 1.6));
    letter-spacing: clamp(var(--ls-min, 0em), var(--ls-mid, 0.2vw), var(--ls-max, 0.12em));
    font-weight: var(--fw, 300);
}

.lead {
	font-size: var(--fs, inherit);
    font-weight: var(--fw, 350);
    line-height: var(--lh, 1.3);
	letter-spacing: var(--ls, 0.02em);
}

.sontainer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.imgflex {
    width: var(--iw, auto);        /* optional width */
    float: var(--ifloat, none);    /* optional float */
    margin: var(--im, 0);          /* optional margin */
    border-radius: var(--ir, 0);   /* optional border radius */
    display: block;
    height: auto;
}

.flex-column {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* Wichtig: Startet oben */
    align-items: center !important;         /* Zentriert horizontal */
    
    /* DAS HIER ERSETZT DEINE <br> TAGS: */
    gap: 24px !important; 
    
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

address {
    font-style: normal;
}


/* ============================================================
   BREADCRUMB NAVIGATION (Sie sind hier...)
   ============================================================ */

.breadcrumb-section {
    padding: 16px 0;
    width: 100%;
    /* Optional: Falls du den grünen Strich unten willst (wie im Bild oben drüber) */
    /* border-top: 2px solid var(--bci1); */
}

.breadcrumb-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'stdfon', sans-serif;
    font-size: 1rem;
}

/* 1. "Sie sind hier:" */
.breadcrumb-label {
    color: var(--vc2); /* Dunkelrot (#620e31) */
    margin-right: 8px;
    font-weight: 400;
}

/* 2. Die Liste (Reset) */
.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

/* 3. Die Listen-Elemente */
.breadcrumb-list li {
    display: flex;
    align-items: center;
}

/* 4. Der Trennstrich (/) */
/* Wir fügen ihn VOR jedem Element ein, außer dem ersten */
.breadcrumb-list li + li::before {
    content: "/";
    color: var(--vc2); /* Farbe des Trenners (Dunkelrot oder Schwarz?) */
    padding: 0 8px;    /* Abstand links/rechts */
}

/* 5. Die Links (Home / Leistungen) */
.breadcrumb-list a {
    color: var(--bci1); /* Türkis (#00bf8f) */
    text-decoration: underline; /* Unterstrichen wie im Bild */
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--vc3); /* Dunkelgrün beim Hovern */
    text-decoration: none;
}



/* ============================================================
   FONT SIZE CONTROLLER STYLING
   ============================================================ */

.fontsize-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
}

/* Der Link selbst */
.fs-btn {
    display: flex;
    align-items: center;
    color: var(--vc1); /* Deine Textfarbe */
    font-family: 'stdfon', sans-serif;
    font-style: italic; /* Wie im Screenshot */
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.2s;
}

.fs-btn:hover {
    color: var(--vc2); /* Hover-Farbe */
    text-decoration: none;
}

/* --- DAS ICON (Lupe) --- */
.fs-icon {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    
    /* Der Kreis der Lupe */
    border: 2px solid var(--gray); /* Farbe der Lupe */
    border-radius: 50%;
}

/* Der Griff der Lupe */
.fs-icon::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -4px;
    width: 8px;
    height: 2px;
    background-color: var(--gray);
    transform: rotate(45deg);
}

/* --- DAS PLUS / MINUS IN DER LUPE --- */
.fs-plus::before,
.fs-minus::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--gray);
}

/* Der waagerechte Strich (für Plus und Minus) */
.fs-plus::before,
.fs-minus::before {
    width: 8px;
    height: 2px;
}

/* Der senkrechte Strich (nur für Plus) */
.fs-plus {
    /* Wir nutzen einen zweiten Pseudo-Element-Trick für das Kreuz wäre zu komplex,
       wir nutzen hier einfach linear-gradient für das Kreuz */
    background: linear-gradient(var(--gray), var(--gray)), 
                linear-gradient(var(--gray), var(--gray));
    background-position: center;
    background-size: 8px 2px, 2px 8px; /* Waagerecht, Senkrecht */
    background-repeat: no-repeat;
}

/* Hover Effekt: Lupe färbt sich mit */
.fs-btn:hover .fs-icon {
    border-color: var(--vc2);
}
.fs-btn:hover .fs-icon::after {
    background-color: var(--vc2);
}
/* Farben im Inneren bei Hover */
.fs-btn:hover .fs-minus::before {
    background-color: var(--vc2);
}
/* Für das Plus-Kreuz bei Hover (Hintergrund-Bild austauschen) */
.fs-btn:hover .fs-plus {
    background: linear-gradient(var(--vc2), var(--vc2)), 
                linear-gradient(var(--vc2), var(--vc2));
    background-position: center;
    background-size: 8px 2px, 2px 8px;
    background-repeat: no-repeat;
}

.debug {
    border: 1px solid var(--dbc, magenta);
    margin: -1px;
}


 .tli {
    padding-left: 1.2em;
 }


.disttop {
	margin-top: var(--dt, 16px);
}

.distbottom {
	margin-bottom: var(--db, 16px);
}

.multicol {
	columns: 2 300px;
    column-gap: 2em;
    text-align: justify;
}

.multicolbox {
  -moz-column-count:    4;
  -webkit-column-count: 4;
  column-count:         4;
}

.pabsolute {
	position: absolute;
}

.pleft {
	left: var(--left, 0);
}

.pright {
	right: var(--right, 0);
}

.ptop {
	top: var(--top, 0);
}

.pbottom {
	bottom: var(--bottom, 0);
}

.margin {
	margin: var(--marglb, 0);
}

.padding {
	padding: var(--padglb, 0);
}

.imgbgicase {
	background-image: url("media/dummy.gif");
    background-repeat:no-repeat;
    background-size:cover;
    background-position: center center;
	text-align: center;
}

.note {
	position: fixed;
	top: 150px;
	left: 25vw;
	width: 50vw;
	z-index: 1000;
	
	border: 1px solid var(--vc2);
	background-color: var(--bcdk75);
	border-radius: var(--bw, 0);
	padding: 12px;
}

.notedsb {
	position: fixed;
	top: 150px;
	left: 25vw;
	width: 50vw;
	z-index: 1000;
	
	border: 1px solid var(--vc2);
	background-color: var(--bcdk75);
	border-radius: var(--bw, 0);
	padding: 12px;
	max-height: calc(100% - 200px);
	overflow-x: hidden;
	overflow-y: scroll !important;
}


.btnblock {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
  font-size: var(--btnfs, 1em);
  padding: var(--btnpad, 8px);
  
  /* Der Flexbox-Kniff: */
  flex: 1 1 100% !important; /* Sagt: Wachse auf 100% Basisgröße */
  max-width: 100% !important;
  
  /* Reset für Abstände, die Cookie-Banner oft setzen */
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0.5rem !important; /* Verhindert, dass Padding die Breite über 100% treibt */
}

.btnblock + .btnblock {
  margin-top: 0.5rem;
}

.btnsm {
  box-sizing: border-box;
  font-size: var(--btnfs, 1em);
  padding: var(--btnpad, 2px);
  
  max-width: 100% !important;
  
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0.5rem !important; /* Verhindert, dass Padding die Breite über 100% treibt */
}

.stdborder {
	border: var(--borw, 1px) solid var(--vc1);
	border-radius: var(--br, 0);
}

.stdborderinv {
	border: var(--borw, 1px) solid var(--bc1);
	border-radius: var(--br, 0);
}


.listbox {
	background-color: var(--bc1);	
	border: 0px dotted var(--vc1);
	display: inline-block;
	border-radius: 0px;
	padding: 8px;
}


.bgbox {
    background-color: var(--bbnbgc, var(--bc1));
    color: var(--bbnvgc, var(--vc1));
    font-size: var(--bbnfs, 1em);
    padding: var(--bbnpad, 2px);
    margin: var(--bbnmar, 2px);
}

/* tabellen */

.fullwidth {
	width: 100%;
}

.col7 {
	width: 14%;
}

.tbhover {
}

.tbhover:hover {
	background-color: var(--bc3);
}

.task {
	background-color: var(--bc2);
}

.tbborder {
	border: 1px solid var(--maincolor);
}


/* text */


.txmark {
	color: var(--mark);
	font-weight: 600;
}

.tcerr {
	color: var(--error);
	text-decoration: underline;
}

.tcinfo {
	color: var(--information);
}

.tcok {
	color: var(--succes);
}

.tcdisable {
	color: var(--disabled);
}

.tcstd  {
	color: var(--vc1);
}








.sfood {
	color: var(--vc1);
}
.sfood a {
	color: var(--vc1);
	font-size: 18px;
	line-height: 32px;
	margin: 12px;
}
.sfood a:hover {
	color: var(--vc1);
}
.sfood div.row div {
	min-height: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 32px;
}
.sfood big {
	font-size: 40px;
}
.sfood ul {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 0;
}
.sfood li a {
    padding: 8px;
    font-size: 24px;
    font-weight: 600;
}
.sfood li {
    padding: 8px;
    font-size: 24px;
    font-weight: 600;
}
.sfood li a:hover {
    text-decoration: none;
}






/* formulare */

button, .button {
	color: var(--vc1);
	background-color: var(--bc1);
	border: 0px solid var(--vc1);
	border-radius: 0;
	line-height: 1.4em;
	font-size: 1em;
	margin-bottom: 0.4em;
	cursor: pointer;
}

input, select, textarea {
	color: var(--vc1);
	background-color: var(--bc1);
	border: 1px solid var(--vc1);
	line-height: 1.4em;
	font-size: 1em;
	margin-bottom: 0.4em;
	border-radius: 0;
}

input[type="file"], .uploadfilefield {
    background-color: var(--bc1);
    color: var(--vc1);
    border: 1px solid var(--vc1);
    border-radius: 0;
	line-height: 1.4em;
	font-size: 1em;
	margin-bottom: 0.4em;
    width: 100%;
}

/* Chrome, Edge, Safari */
input[type="file"]::-webkit-file-upload-button, uploadfilefield::-webkit-file-upload-button {
    background-color: var(--bc1);
    color: var(--vc1);
    border: 1px solid var(--vc1);
    border-radius: 0;
    font-weight: 600;
    padding: 4px 12px;
    margin-right: 10px;
    cursor: pointer;
}

/* Firefox */
input[type="file"]::file-selector-button, uploadfilefield::file-selector-button {
    background-color: var(--bc1);
    color: var(--vc1);
    border: 1px solid var(--vc1);
    border-radius: 0;
    font-weight: 600;
    padding: 4px 12px;
    margin-right: 10px;
    cursor: pointer;
}
input[type="file"]::file-selector-button, .uploadfilefield::file-selector-button {
    @apply ipbutton; /* mit Tailwind o. Ä. – sonst manuell nachbauen */
}


option {
	color: var(--vc1);
	background-color: var(--bc1);
	border: 0px solid var(--vc1);
	line-height: 1.4em;
	font-size: 1em;
	margin-bottom: 0.4em;
}

.ipsend {
	color: var(--success);
	font-weight: 600;
	background-color: var(--bc1);
	border-radius: 0;
	border: 1px solid var(--vc1);
	line-height: 1.4em;
	font-size: 1em;
	margin-bottom: 0.4em;
}

.ipbutton {
	color: var(--vc1);
	font-weight: 600;
	background-color: var(--bc1);
	border: 1px solid var(--vc1);
	border-radius: 0;
	line-height: 1.4em;
	font-size: 1em;
	margin-bottom: 0.4em;
}

.ipstop {
	color: var(--error);
	font-weight: 600;
	background-color: var(--bc1);
	border: 1px solid var(--vc1);
	border-radius: 0;
	line-height: 1.4em;
	font-size: 1em;
	margin-bottom: 0.4em;
}
.ipsend:hover, .ipbutton:hover, .ipstop:hover  {
	cursor: pointer;
}

.clstd, .cl {
	color: var(--vc1);
	background-color: var(--bc1);
	border: 1px solid var(--vc1);
	border-radius: 0;
}

.clerr {
	color: var(--error);
	background-color: var(--bc1);
	border: 0px solid var(--error);
	border-radius: 0;
}
